0
Since missing parameters are assigned as 'Undefined' would that cause 'Null' to be output if trying to document.write() the undefined parameter?
3 ответов
+ 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.
+ 1
The short answer is no. False, Undefined, NaN, Null, "", and 0 are all different values of nothing.
0
the function would not execute