Sign in
webkit
/
WebKit
/
be9b4e2157fc5a81e712f3ea4e4907d0c2890556
/
.
/
JSTests
/
es6
/
typed_arrays_Uint8Array.js
blob: 3aceb3a713cc96e3751831736b12cbade37fc5a1 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
Uint8Array
(
buffer
);
view
[
0
]
=
0x100
;
return
view
[
0
]
===
0
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);