showing results for - "javascript conditional evaluation"
Debra
01 Oct 2017
1if ( expression )
2Here are some expressions and their result
3	Undefined: false
4	Null: false
5	Boolean: the result equals the input argument (no conversion)
6	Number: false if the argument is +0, -0, or NaN; otherwise true
7	String: false if the argument is an empty string (length = 0); 
8			otherwise true
9	Object: true