mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 09:03:37 +03:00
1b28766c26
swc_ecma_parser: - parser now take comments by reference
25 lines
236 B
JavaScript
25 lines
236 B
JavaScript
// 1.
|
|
if (a) {
|
|
{
|
|
{
|
|
{
|
|
}
|
|
}
|
|
}
|
|
if (b) {
|
|
c();
|
|
}
|
|
{
|
|
{
|
|
}
|
|
}
|
|
} else {
|
|
d();
|
|
}
|
|
// 2.
|
|
if (a) {
|
|
for(var e = 1; e < 2; ++e)if (b) c();
|
|
} else {
|
|
d();
|
|
}
|