9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
//// [templateStringInPropertyAssignment.ts]
|
|
var x = {
|
|
a: `abc${ 123 }def${ 456 }ghi`
|
|
}
|
|
|
|
//// [templateStringInPropertyAssignment.js]
|
|
var x = {
|
|
a: "abc" + 123 + "def" + 456 + "ghi"
|
|
};
|