0

I recently encountered a weird behavior while using Javascript in NodeJS and chrome. It looks like it doesn't support some numbers. When I do console.log(05042020) it displays 13128144. It happens in NodeJS and Chrome but when I do console.log(1000000000) it prints fine.

Please see the screenshot attached as a proof.enter image description here:

enter image description here

Mr. Polywhirl
  • 42,981
  • 12
  • 84
  • 132

0 Answers0