Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
JSTests
/
es6
/
typed_arrays_Int32Array.js
blob: 3bc661264f0ce866e42bb93d3cf1b347108c5801 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
Int32Array
(
buffer
);
view
[
0
]
=
0x80000000
;
return
view
[
0
]
===
-
0x80000000
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);