typed-objects-explainer icon indicating copy to clipboard operation
typed-objects-explainer copied to clipboard

int8 example is potentially wrong

Open RReverser opened this issue 9 years ago • 0 comments

In this example:

int8(128)   // returns 127
int8("128") // returns 127

Shouldn't it be -127 instead as per conversion rules of C, Int8Array and many others?

RReverser avatar Apr 23 '16 13:04 RReverser