-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Description of the false positive
This is reported as unnecessary: typeof v === 'undefined' && v !== undefined
It is however the only way to detect HTMLDDA slots: https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
It is probably a mistake in most cases though.
URL to the alert on the project page on LGTM.com