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