mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
b1e4122b02
swc_ecma_ast: - rename `TsOptChain` to `OptChainExpr` (Fixes #525) - add `BinOp::NullishCoalescing` swc_ecma_parser: - parse `??` (Fixes #526) swc_ecma_transforms: - remap comments from fixer (Fixes #528)
11 lines
75 B
JavaScript
11 lines
75 B
JavaScript
// bar
|
|
[
|
|
// foo
|
|
a,
|
|
|
|
//bar
|
|
(
|
|
//baz
|
|
b
|
|
)
|
|
] |