+ 1

Zero in JavaScript

I found instantly that "0" cold not be the first number of "var" value & It makes sense for me

10th Mar 2019, 3:51 PM
Mohamed A. Mahmoud
Mohamed A. Mahmoud - avatar
3 Respuestas
+ 3
//Because "zero" has null value in numeric form, unless you declare it as string var x ="01"
10th Mar 2019, 7:15 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
ما ممكن الا لو االمتغير بتاعك string var num=" 0966"
19th Mar 2019, 9:16 AM
abdurrahim hassan
abdurrahim hassan - avatar
0
Cool I got that
10th Mar 2019, 7:24 PM
Mohamed A. Mahmoud
Mohamed A. Mahmoud - avatar