12 lines
250 B
JavaScript
12 lines
250 B
JavaScript
|
//// [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";
|
||
|
};
|