3 ms·
You can make them properties on a global object, so that using an invalid event name is at least a runtime error (when you try to bind to an undefined event) ra
by plorkyeran 13y ago
You can make them properties on a global object, so that using an invalid event name is at least a runtime error (when you try to bind to an undefined event) rather than being mystified about why the event never triggers.
- alttab 13y agoYou still need a runtime test to find the error though, which I why manual QA is required.