1 |
set obj = object |
After above statement, the variable “obj” will be always “NOT NULL” even “object” is null
So, how to check if “obj” is null? To use “isEmpty”. Fucking stupid.
Note: Don’t use “isObject”, the result is always true.