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