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

9 lines
302 B
TypeScript

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