Sign in
webkit
/
WebKit
/
edf247c81f20089de52cb2decac360f8a7393c57
/
.
/
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"
);