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