> Making it a dynamic error at class definition time to extend null would work
> but the motivation for not doing that was that someone might want to create a
> class that has a {__proto__: null} prototype. Personally, I would be fine
> with saying that this case is so rare that it would be better to have that
> dynamic error at class definition time.
Interesting. I have never seen this pattern and don’t see what it could be good
for. Thus, a dynamic error at class definition time sounds good to me.
--
Dr. Axel Rauschmayer
[email protected]
rauschma.de
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss