TypeScript/tests/baselines/reference/templateStringInFunctionExpression.js

12 lines
250 B
TypeScript
Raw Normal View History

//// [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";
};