shapesecurity / shift-scope-js

scope analyser for the Shift AST
http://shift-ast.org/scope.html
Apache License 2.0
11 stars 6 forks source link

`arguments` is not visible to parameters #49

Closed bakkot closed 7 years ago

bakkot commented 7 years ago

e.g.

var arguments = 0;
(function(a = arguments) {
  return a === 0;
})();

should return false; our analysis implies it returns true.

bakkot commented 7 years ago

Fixed by #50.