☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-block-scoping
/
test
/
fixtures
/
general
/
issue-15308-for-variable-shadow-original-sibling-scope
/
exec.js
☽
☼
packages/babel-plugin-transform-block-scoping/test/fixtures/general/issue-15308-for-variable-shadow-original-sibling-scope/exec.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
let
res = [];
2
3
for
(
let
i =
1
; i <
3
; i++) {
4
let
x = i;
5
res.
push
((() => x)());
6
}
7
8
for
(
let
i =
4
; i <
6
; i++) {
9
let
y = i;
10
res.
push
((() => y)());
11
}
12
13
expect
(res).
toEqual
([
1
,
2
,
4
,
5
]);