RosettaCodeData/Task/Null-object/Jsish/null-object.jsish

8 lines
209 B
Plaintext

/* null non value */
if (thing == null) { puts("thing tests as null"); }
if (thing === undefined) { puts("thing strictly tests as undefined"); }
puts(typeof thing);
puts(typeof null);
puts(typeof undefined);