swc/tests/fixture/deno-10282/case1/output/index.js
강동윤 57d1aaf80f
fix(es): Fix various bugs (#1707)
swc_ecma_codegen:
 - Fix codegen of `\r\n` in template literals when targeting `es2020`. (denoland/deno#10282)

swc_ecma_parser:
 - Support non-identifier getters in typescript. (#1708)

swc_ecma_transforms_typescript:
 - Skip `export {}` if it was not a module. (#1706)
 - Skip `export {}` if the result is module without it. (#1706)
2021-05-17 22:27:59 +09:00

7 lines
161 B
JavaScript

const content1 = `first line\r\nsecond line\r\nthird line`;
const content2 = `first line\nsecond line\nthird line`;
console.log({
content1,
content2
});