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