Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testFloatArrayIndex.js
blob: 564824778d5325b4770ead01fbb68bf2cffa4614 [
file
] [
log
] [
blame
]
function
testFloatArrayIndex
()
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
10
;
++
i
)
{
a
[
3
]
=
5
;
a
[
3.5
]
=
7
;
}
return
a
[
3
]
+
","
+
a
[
3.5
];
}
assertEq
(
testFloatArrayIndex
(),
"5,7"
);