* fix(39744): make template literals more spec compliant * Add evaluation test for template literals * Add test for template literals with source map
10 lines
178 B
TypeScript
10 lines
178 B
TypeScript
//// [templateStringInWhile.ts]
|
|
while (`abc${0}abc`) {
|
|
`def${1}def`;
|
|
}
|
|
|
|
//// [templateStringInWhile.js]
|
|
while ("abc".concat(0, "abc")) {
|
|
"def".concat(1, "def");
|
|
}
|