Skip to content

transform assignment expressions into variable declarations if the variable is declared using a function argument #159

Open
@Le0Developer

Description

@Le0Developer

Example:

function f(a, b, c) {
  console.log(b)
  b = 1;
  c = 2
}

Should produce:

function f(a, b) {
  console.log(b)
  b = 1;
  var c = 2
}

I'll try to implement this myself c:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions