0

Since missing parameters are assigned as 'Undefined' would that cause 'Null' to be output if trying to document.write() the undefined parameter?

13th Jan 2016, 2:03 PM
KL Brey
KL Brey - avatar
3 Réponses
+ 1
it would cause undefined, the value of an undefined variable is undefined. In JS: null === undefined; // returns false //Note I used === and not ==. null == undefined; //will return true.
22nd Apr 2016, 2:49 PM
FJ Durán
FJ Durán - avatar
+ 1
The short answer is no. False, Undefined, NaN, Null, "", and 0 are all different values of nothing.
14th Jun 2016, 1:31 AM
Vegard Bratteng
Vegard Bratteng - avatar
0
the function would not execute
18th Feb 2016, 2:31 PM
Andrzej Szelemetko
Andrzej Szelemetko - avatar