Sign in
webkit
/
WebKit
/
d507f536e123365c4233f3083e0192532185e8fc
/
.
/
JSTests
/
stress
/
multiple-files-tests
/
global-lexical-variable-unresolved-property
/
second.js
blob: f234b851947a72d402268b834ff17248ade94407 [
file
] [
log
] [
blame
]
b
=
true
;
let x
=
"x"
;
for
(
var
i
=
0
;
i
<
1000
;
i
++)
{
assert
(
foo
()
===
"x"
);
assert
(
x
===
"x"
);
}
x
=
20
;
x
=
40
;
for
(
var
i
=
0
;
i
<
1000
;
i
++)
{
assert
(
foo
()
===
40
);
assert
(
x
===
40
);
}