- From: Jake Archibald <notifications@github.com>
- Date: Wed, 14 Mar 2018 05:53:18 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 March 2018 12:53:42 UTC
```js class Foo extends Event {} console.log(new Foo('bar').constructor); ``` Chrome & Firefox say `Foo`, Edge and Safari say `Event`. The Chrome/Firefox behaviour is preferable, as it allows you to create custom event objects. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/598
Received on Wednesday, 14 March 2018 12:53:42 UTC