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

should identifiers as delete operands be marked as read references? #31

Closed michaelficarra closed 7 years ago

michaelficarra commented 8 years ago
var a;
delete a;

The operand to delete in the above Script is marked as a read of the variable declared by var. I would consider a reference "read" if it was going to have GetValue called on it. Which this doesn't.

bakkot commented 7 years ago

Fixed by #48.