Sign in
webkit
/
WebKit
/
613de0057ae64eb418820c1bd3d79d1fa91ab720
/
.
/
JSTests
/
es6
/
typed_arrays_Float64Array.js
blob: 30df5eba746262eae40a62c3868bca46d8a3fb09 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
Float64Array
(
buffer
);
view
[
0
]
=
0.1
;
return
view
[
0
]
===
0.1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);