Doing the following in node.js with express.js
const callFn = (param) => param;
console.log(callFn);
expecting to get:
(param) => param
instead, I get:
[Function: callFn]
How do I actually get the expected results?
Doing the following in node.js with express.js
const callFn = (param) => param;
console.log(callFn);
expecting to get:
(param) => param
instead, I get:
[Function: callFn]
How do I actually get the expected results?