mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
39ee7b962d
swc_ecma_codegen: - Fix codegen of template literals. (Closes #1791)
9 lines
159 B
JavaScript
9 lines
159 B
JavaScript
const content1 = `first line\r\nsecond line\r\nthird line`;
|
|
const content2 = `first line
|
|
second line
|
|
third line`;
|
|
console.log({
|
|
content1,
|
|
content2
|
|
});
|