* fix(39744): make template literals more spec compliant * Add evaluation test for template literals * Add test for template literals with source map
6 lines
170 B
TypeScript
6 lines
170 B
TypeScript
//// [templateStringWithEmbeddedUnaryPlus.ts]
|
|
var x = `abc${ +Infinity }def`;
|
|
|
|
//// [templateStringWithEmbeddedUnaryPlus.js]
|
|
var x = "abc".concat(+Infinity, "def");
|