Is “class C extends null” derived?

extends null is “derived” in ES2015.

class C extends null {
Constructor kind: derived
Prototype of C: Function.prototype
Prototype of C.prototype: null

via 15. Classes - Exploring ES6

But, @allenwb said:

I think it is a specification bug that extend null classes were marked as “derived”

Edit(2016-04-20): ECMAScript spec is fixed.

If you interstend in the specification bug, please follow these issues:

blog comments powered by Disqus