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