TypeScript/tests/baselines/reference/taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02.js
LowR cd0434aa76
fix(39744): make template literals more spec compliant (#45304)
* fix(39744): make template literals more spec compliant

* Add evaluation test for template literals

* Add test for template literals with source map
2021-10-13 12:03:31 -07:00

6 lines
949 B
TypeScript

//// [taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02.ts]
`0${ " " }1${ " " }2${ " " }3${ " " }4${ " " }5${ " " }6${ " " }7${ " " }8${ " " }9${ " " }10${ " " }11${ " " }12${ " " }13${ " " }14${ " " }15${ " " }16${ " " }17${ " " }18${ " " }19${ " " }20${ " " }2028${ " " }2029${ " " }0085${ " " }t${ " " }v${ " " }f${ " " }b${ " " }r${ " " }n`
//// [taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02.js]
"0".concat(" ", "1").concat(" ", "2").concat(" ", "3").concat(" ", "4").concat(" ", "5").concat(" ", "6").concat(" ", "7").concat(" ", "8").concat(" ", "9").concat(" ", "10").concat(" ", "11").concat(" ", "12").concat(" ", "13").concat(" ", "14").concat(" ", "15").concat(" ", "16").concat(" ", "17").concat(" ", "18").concat(" ", "19").concat(" ", "20").concat(" ", "2028").concat(" ", "2029").concat(" ", "0085").concat(" ", "t").concat(" ", "v").concat(" ", "f").concat(" ", "b").concat(" ", "r").concat(" ", "n");