Merge pull request #2357 from hzoo/i-2355
evaluation: don't evaluate `in` and `instanceof` binary exp - fixes #…
This commit is contained in:
commit
58723068d3
@ -175,8 +175,6 @@ export function evaluate(): { confident: boolean; value: any } {
|
||||
case "<<": return left << right;
|
||||
case ">>": return left >> right;
|
||||
case ">>>": return left >>> right;
|
||||
case "in": return left in right;
|
||||
case "instanceof": return left instanceof right;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user