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