mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
33d296af31
swc_ecma_transforms: - implement es2015::block_scoped_functions - implement tagged template literal without escape handling - hygiene: rename to different number - scope: handle pattern by folding children swc_ecma_ast: - use Str instead of String for template literal swc_ecma_parser: - fix lexer tests - handle template literal correctly template literals now have cooked field swc_ecma_codegen: - escape newline character and backslash ('\')
2 lines
16 B
JavaScript
2 lines
16 B
JavaScript
'Hello\nWorld';
|