TypeScript/tests/baselines/reference/templateLiteralsSourceMap.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

7 lines
214 B
TypeScript

//// [templateLiteralsSourceMap.ts]
const s = `a${0}b${1}c${2}`;
//// [templateLiteralsSourceMap.js]
var s = "a".concat(0, "b").concat(1, "c").concat(2);
//# sourceMappingURL=templateLiteralsSourceMap.js.map