3 ms·
All numbers in JavaScript are floats, unless you make an array with Int8Array(). https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Object
by ape4 4y ago
All numbers in JavaScript are floats, unless you make an array with Int8Array().
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I wonder if people sometimes make a one element integer array this way so they can have a integer to work with.