7 lines
175 B
JavaScript
7 lines
175 B
JavaScript
//// [templateStringInArrowFunction.ts]
|
|
var x = x => `abc${ x }def`;
|
|
|
|
//// [templateStringInArrowFunction.js]
|
|
var x = function (x) {
|
|
return ("abc" + x + "def");
|
|
};
|