MichaelXF / js-confuser

JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.
https://js-confuser.com
MIT License
168 stars 28 forks source link

Stack breaks function with syncing arguments parameter #88

Closed MichaelXF closed 1 year ago

MichaelXF commented 1 year ago

Config and Small code sample

Config:

{
  target: "node",
  stack: true
}

Code:

function syncingArguments(parameter) {
  arguments[0] = "Correct Value";
  console.log(parameter);
}

syncingArguments("Incorrect Value"); // "Correct Value"

Expected behavior

The program should output "Correct Value"

Actual behavior

The program outputs "Incorrect Value"