Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
inline
/
undefinedLocal.js
blob: f6fb1299661a5ca356a07e815d824ef5ecad8302 [
file
] [
log
] [
blame
]
function
bar
(
n
)
{
var
a
;
if
(
n
<
50
)
a
=
n
;
return
a
;
}
function
foo
()
{
for
(
var
i
=
0
;
i
<
100
;
i
++)
{
var
q
=
bar
(
i
);
if
(
i
<
50
)
assertEq
(
q
,
i
);
else
assertEq
(
q
,
undefined
);
}
}
foo
();