10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-03 20:53:59 +01:00

Fix trueTypeOf null

This commit is contained in:
Mickaël Véril 2019-11-12 15:19:52 +01:00
parent 10ca75a0f0
commit 9ce83a425d

View File

@ -1,3 +1,8 @@
function trueTypeOf(object){ function trueTypeOf(object){
if (object==null){
return "null"
}
else {
return object.constructor.name return object.constructor.name
}
} }