Jacek Caban (@jacek) commented about dlls/mshtml/tests/es5.js:
ok(r === undefined, "buf.slice(-9) view(1).setFloat64(0, 11.875) returned " + r); r = view2.getFloat64(0); ok(r === 11.875, "buf.slice(-9) view(1).getFloat64(0) returned " + r);
- for(i = 0; i < types.length; i++) {
var name = types[i][0] + "Array", arrType = window[name], typeSz = types[i][1];arr = arrType;
`arr` is used for array instances in the same function, which makes things confusing.