TypeScript/tests/baselines/reference/templateStringInNewExpression.js

6 lines
213 B
TypeScript

//// [templateStringInNewExpression.ts]
new `abc${0}abc`(`hello ${0} world`, ` `, `1${2}3`);
//// [templateStringInNewExpression.js]
new ("abc" + 0 + "abc")("hello " + 0 + " world", " ", "1" + 2 + "3");