Hacker News new | ask | show | jobs
by Illniyar 2590 days ago
Because Numbers in javascripts are floats, and not allowing floats in numbers would be a serious backward compatibility issue.

Also, I'm assuming there are performance issues with using bigints.

1 comments

Sounds like you're correct according to MDN:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...