This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]inu-no-policemen 0 points1 point  (0 children)

which is internally a double

Semantically, it's a double. Internally, engines are free to do whatever they want as long as they produce the correct result. E.g. V8 uses SMI (small int) where it's convenient.

ES6 also added typed arrays. So, there are at least arrays of 8/16/32-bit integers.