mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
1b28766c26
swc_ecma_parser: - parser now take comments by reference
8 lines
112 B
JavaScript
8 lines
112 B
JavaScript
var a;
|
|
// access to global should be assumed to have side effects
|
|
if (b) {
|
|
a = 1 + 2;
|
|
} else {
|
|
a = 3;
|
|
}
|