11 lines
250 B
TypeScript
11 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";
|
|
};
|