JavaScript syntax: Difference between revisions

Content deleted Content added
fix tag
Line 1,117:
 
In the context of a logical operation, any expression evaluates to true except the following''':'''
* Strings: <tt>""</tt></tt>, <tt><nowiki>''</nowiki></tt>,
* Numbers: <tt>0</tt>, <tt>-0</tt>, <tt>NaN</tt>,
* Special: <tt>null</tt>, <tt>undefined</tt>,