Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
loops
/
bug655854.js
blob: 81c719431425089fa4edaa5b2756043b1b5d75b1 [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
,
c
)
{
var
res
=
0
;
for
(
var
b
=
0
;
b
<
c
;
b
++)
res
+=
a
[
b
];
return
res
;
}
assertEq
(
foo
([
1
,
2
,
3
],
0
,
10
),
NaN
);