TypeScript/tests/baselines/reference/templateStringWithEmbeddedUnaryPlus.js
2014-10-23 15:06:05 -07:00

6 lines
165 B
TypeScript

//// [templateStringWithEmbeddedUnaryPlus.ts]
var x = `abc${ +Infinity }def`;
//// [templateStringWithEmbeddedUnaryPlus.js]
var x = "abc" + +Infinity + "def";