Files
tsgo/testdata/baselines/reference/submodule/conformance/templateStringWithEmbeddedObjectLiteral.js

9 lines
293 B
TypeScript

//// [tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteral.ts] ////
//// [templateStringWithEmbeddedObjectLiteral.ts]
var x = `abc${ { x: 10, y: 20 } }def`;
//// [templateStringWithEmbeddedObjectLiteral.js]
"use strict";
var x = `abc${{ x: 10, y: 20 }}def`;