René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
null [JavaScript snippet] | ||
function main() { var nul; //var undef; nul = null; txt_out(2+nul); // 2 txt_out(null == null ); // true txt_out(null == nul ); // true txt_out(null == null ); // true txt_out(null == 2 ); // false }
See also other Javascript snippets
|