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