+ 1

Why alert (8*null) is answer is 0?

This is a sololearn question.

17th Jun 2020, 6:06 AM
Sanket ⚛️
Sanket ⚛️ - avatar
3 ответов
+ 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
17th Jun 2020, 6:48 AM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
+ 2
Hi
27th Jul 2020, 5:29 AM
Mohyddeen Yahay Mohyddeen
Mohyddeen Yahay Mohyddeen - avatar
+ 2
Because it's plural
18th Sep 2020, 12:52 PM
Mohyddeen Yahay Mohyddeen
Mohyddeen Yahay Mohyddeen - avatar