> I thought `typeof (class {}) === "function"` as well. And classes, to my
> knowledge aren't callable.
>
Oh they are, they just throw when you call them : )

https://tc39.github.io/ecma262/#sec-ecmascript-function-objects-call-thisargument-argumentslist
Step
2
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to