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