mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Fix trueTypeOf null
This commit is contained in:
parent
10ca75a0f0
commit
9ce83a425d
@ -1,3 +1,8 @@
|
|||||||
function trueTypeOf(object){
|
function trueTypeOf(object){
|
||||||
|
if (object==null){
|
||||||
|
return "null"
|
||||||
|
}
|
||||||
|
else {
|
||||||
return object.constructor.name
|
return object.constructor.name
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user