mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +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 ('\')
4 lines
20 B
JavaScript
4 lines
20 B
JavaScript
+{
|
|
'\\': 1
|
|
};
|