+ 1
Why alert (8*null) is answer is 0?
This is a sololearn question.
3 Réponses
+ 4
In JavaScript the numeric of null is 0
alert(Number(null)); // 0
alert(8 * null); // is 0 because it is like to multiply between 8 and 0
+ 2
Hi
+ 2
Because it's plural