mirror of
https://github.com/swc-project/swc.git
synced 2024-12-12 13:33:23 +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 ('\')
5 lines
53 B
JavaScript
5 lines
53 B
JavaScript
(function() {
|
|
'use\nstrict';
|
|
with (a);
|
|
}());
|