Sign in
webkit
/
WebKit
/
ab67612844bd4ac77f66b7c72fa733d3c90c027f
/
.
/
JSTests
/
es6
/
typed_arrays_DataView_Float64.js
blob: 2cc2606d170b018392fc9361cd64eaa01f3d5c59 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
DataView
(
buffer
);
view
.
setFloat64
(
0
,
0.1
);
return
view
.
getFloat64
(
0
)
===
0.1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);