Open MichaelXF opened 1 year ago
Config and Small code sample
Config:
{ target: "node", controlFlowFlattening: true }
Code:
"use strict"; var myFunction = function () { console.log("Inner"); }; if (true) { function myFunction() { console.log("Outer"); } } myFunction();
Expected behavior
The program should output "Inner"
Actual behavior
The program outputs "Outer"
Config and Small code sample
Config:
Code:
Expected behavior
The program should output "Inner"
Actual behavior
The program outputs "Outer"