WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / typed_arrays_Float64Array.js
1 function test() {
2
3 var buffer = new ArrayBuffer(64);
4 var view = new Float64Array(buffer);       view[0] = 0.1;
5 return view[0] === 0.1;
6       
7 }
8
9 if (!test())
10     throw new Error("Test failed");
11