Sign in
webkit
/
WebKit
/
5bd663b95d2fa0048c9b51d7e90d3c09992ceb28
/
.
/
JSTests
/
es6
/
typed_arrays_Int16Array.js
blob: db01397000668121b9a097e1e22034b7f2d5a5a5 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
Int16Array
(
buffer
);
view
[
0
]
=
0x8000
;
return
view
[
0
]
===
-
0x8000
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);