You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for literal NaN delay in no-setTimeout-if/no-setInterval-if scriplets #1136
In the above commit, I erroneously assumed specifying a delay which value is converted to NaN would cause the scriptlet to match properly, but it doesn't, in the end this works because of the match against the function string.
It should be possible to specify literal NaN as delay in those scriptlets, in which case a typed comparison using isNaN() would be used.
Activity
Add support to compare delay against literal Number.NaN in nossif/nostif
Add support to compare delay against literal Number.NaN in nossif/nostif
Add support to compare delay against literal Number.NaN in nossif/nostif