Anonymous user
Null object: Difference between revisions
Add Jsish
(Add Neko) |
(Add Jsish) |
||
Line 749:
empty == "black hole" # => # Ничего</lang>
=={{header|Jsish}}==
Like Javascript, Jsish has "undefined" and "null".
<lang javascript>/* 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);</lang>
{{out}}
<pre>prompt$ jsish nulling.jsi
thing tests as null
thing strictly tests as undefined
undefined
null
undefined
</pre>
=={{header|Julia}}==
|