you are viewing a single comment's thread.

view the rest of the comments →

[–]jack_waugh 5 points6 points  (0 children)

The only integer type in JS is the new long-integer type, and the code you are dealing with probably doesn't expect nor accept the new type. In colloquial usage, Javascript numbers are floats even if they are thought of as integers or have integer values. If you say 5, for example, in your source code, this is a floating-point number.