I want to protect my actions against null-ish values and only if "defined" is the value then continue .
After the solution suggested to be equal to two times undefined: Then my current solution is to check for the blank Check the test here: Now am I missing something here? Matthias and anything ( Basic example: Remove the first block and you will get: _someUndefinedVarName is not defined if (some == undefined) . The problem with this solution is that you can declare an undefined variable.
(if some == empty) which checks for the uncertainly uncertain and if I want to capture AdiNulti Francy Values So I check
if (some) .
if (! _someUndefinedVarName) ) will fail.
Comments
Post a Comment