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