1

In JavaScript when create a variable for example: x = 01234 It return the number 668.

Could somebody please explain to me why this happens? Or how JavaScript handles numbers with a leading zero 0.

thanks in advance, Michel

0 Answers0