Null object: Difference between revisions
Content added Content deleted
Line 751: | Line 751: | ||
=={{header|Jsish}}== |
=={{header|Jsish}}== |
||
Like Javascript, Jsish has |
Like Javascript, Jsish has '''undefined''' and '''null'''. Unlike Javascript, null is not typed as '''object''', but '''null'''. |
||
Jsish, with parameter typed functions, also allows '''void''' as a type spec, to indicate the parameter (of whatever type) may be omitted by a caller. |
|||
<lang javascript>/* null non value */ |
<lang javascript>/* null non value */ |
||