Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug1100623.js
blob: 7de07d2749c1cff0279931da9650f9ad35df93d4 [
file
] [
log
] [
blame
]
// |jit-test| error: baz is null
var
document
=
{
getElementById
:
()
=>
null
};
(
function
()
{
const
one
=
1
;
function
foo
()
{
return
one
;
}
function
bar
()
{
return
foo
();
}
var
baz
=
document
.
getElementById
(
"baz"
);
baz
.
value
;
})();