-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Description of the false positive
Strict mode can not use arguments.callee, this is true, but i'm using it inside a try/catch explicitly to trigger the exception.
It's also marked as "has no effect", but it throws an exception in strict mode code, which is quite a strong effect.
In other words, I think that both of these should never show up for arguments.callee. In sloppy mode, this is a noop expression; in strict mode, it has an effect (and ideally it should be permitted as a noop expression inside a try/catch)