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

12 lines
250 B
TypeScript

//// [templateStringInFunctionExpression.ts]
var x = function y() {
`abc${ 0 }def`
return `abc${ 0 }def`;
};
//// [templateStringInFunctionExpression.js]
var x = function y() {
"abc" + 0 + "def";
return "abc" + 0 + "def";
};