mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
7c58b89571
testing: - preserve context of the span in `::testing::DropSpan` swc_ecma_codegen: - disable get_text_of_node to avoid deoptimization swc_ecma_transforms: - allow using this inside arrow expression - implement es2015::block_scoping with hygiene ident
8 lines
218 B
JavaScript
8 lines
218 B
JavaScript
a(b() + 1 + 'c' + 'd');
|
|
a(b() + (2 + 'c') + 'd');
|
|
a((b() + 3) + 'c' + 'd');
|
|
a(b() + 4 + 'c' + 'd' + ('e' + 'f'));
|
|
a('e' + 'f' + b() + 5 + 'c' + 'd' + ('e' + 'f'));
|
|
a('c' + b() + 6 + 'd');
|
|
a(b() + 'e' + (7 + g('10')));
|