The JavaScript keyword null is a special value that indicates "no value." Technically speaking, null is a value of object type, so when a variable holds the value null, you know that it does not contain a valid object or array. For that matter, you also know that it does not contain a valid number, string, Boolean or function.
C and C++ programmers should note that null in JavaScript is not the same as 0 as it is in those languages. In certain circumstances, null will be converted to a 0, but the two are not equivalent.
file: /Techref/language/java/script/definitive/ch03_08.htm, 3KB, , updated: 2019/10/14 15:00, local time: 2024/12/23 05:49,
18.219.239.111:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/language/java/script/definitive/ch03_08.htm"> [Chapter 3] 3.8 Null</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.