Allowing ES6 Symbols as event names
David Bruant <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Currently, symbols can't be used as arguments of EventTarget.prototype.addEventListener & friends on the basis that Symbols can't (rightfully) be converted to strings. Very much like symbols can be used as property names, I believe they should be usable as event names. David