[whatwg/dom] Clarify behaviour of constructor in `class Foo extends Event {}` (#598)

```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