Sign in
webkit
/
WebKit
/
942f1c55789c2d11f989cfa1840f51c0777b0784
/
.
/
JSTests
/
es6
/
typed_arrays_Int8Array.js
blob: d7e08b11b6c44e2278c9b8b22640862eb57e63b1 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
Int8Array
(
buffer
);
view
[
0
]
=
0x80
;
return
view
[
0
]
===
-
0x80
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);