Closed MichaelXF closed 1 year ago
Config and Small code sample
Config:
{ target: "node", minify: true }
Code:
// Input function myFunction(myParameter){ } console.log(myFunction.length) // 1 // Output var myFunction = __p_8381788016(myParameter => {}); console.log(myFunction.length); // 0 function __p_8381788016(arrowFn) { return function () { return arrowFn(...arguments); }; }
Expected behavior
The program should output 1
1
Actual behavior
The program outputs 0
0
Config and Small code sample
Config:
Code:
Expected behavior
The program should output
1
Actual behavior
The program outputs
0