The Readme motivates this special handling by "JavaScript only supports 32-bit integers".
Yet from skimming the EcmaScript doc, the only thing I see related to 32-bit integers is that certain operators (e.g. bitwise ops) work over 32-bit values. But they still take Numbers as operands (and they convert them to 32 bit values, see last paragraph of
http://www.ecma-international.org/ecma-262/5.1/#sec-8.5).
So it seems like it should be fine to convert longs to plain old js Numbers rather than NumberObjects. Does this make sense or am I missing something?
(I started looking into this because I'm finding it cumbersome to have to convert the NumbersObjects back to numbers in an array of Java.lang.Object).