mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
294 B
TypeScript
15 lines
294 B
TypeScript
//// [tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts] ////
|
|
|
|
//// [templateStringInObjectLiteralES6.ts]
|
|
var x = {
|
|
a: `abc${ 123 }def`,
|
|
`b`: 321
|
|
}
|
|
|
|
//// [templateStringInObjectLiteralES6.js]
|
|
"use strict";
|
|
var x = {
|
|
a: `abc${123}def`,
|
|
} `b`;
|
|
321;
|