js-confuser icon indicating copy to clipboard operation
js-confuser copied to clipboard

Defining the same variable multiple times

Open Stanley-GF opened this issue 2 years ago • 7 comments

Describe the bug:

Defining the same variable multiple times (has already been declared)

Config and Small code sample

Config:

{
  target: "node",
  preset: "high"
}

Code:

can't post it there, too big

Expected behavior

The program should execute the code correctly

Actual behavior

The program simply return an error, "SyntaxError: Identifier 'xxxxxxxx$xxxxxxxx' has already been declared"

Stanley-GF avatar Apr 10 '22 08:04 Stanley-GF