TypeScript/tests/baselines/reference/templateStringWithEmbeddedNewOperator.js

6 lines
183 B
TypeScript
Raw Normal View History

//// [templateStringWithEmbeddedNewOperator.ts]
var x = `abc${ new String("Hi") }def`;
//// [templateStringWithEmbeddedNewOperator.js]
var x = "abc" + new String("Hi") + "def";