function uint32(x) { var buffer = new ArrayBuffer(16); var dataview = new DataView(buffer); dataview.setUint32(0, x); return dataview.getUint32(0); } print(uint32(0x7f) == uint32(0x7f)); print(uint32(0x80) == uint32(0x80)); after 8_112 returns true false
|