8 lines
223 B
JavaScript
8 lines
223 B
JavaScript
|
//// [templateStringWithEmbeddedFunctionExpression.ts]
|
||
|
var x = `abc${ function y() { return y; } }def`;
|
||
|
|
||
|
//// [templateStringWithEmbeddedFunctionExpression.js]
|
||
|
var x = "abc" + function y() {
|
||
|
return y;
|
||
|
} + "def";
|