Ideas on type hinting and named parameters

Kevin Smith zenparsing at gmail.com
Tue Jun 9 18:38:50 UTC 2015


>
> Also static properties are on __proto__, so it seems a bit strange that
> instance properties would not also be on .prototype. Somewhat of a
> consistency issue I suppose.
>

Methods declared as "static" in ES6 are defined on the constructor itself.
Apparently, "static" data properties in TS are defined on the constructor
as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150609/c2b27474/attachment-0001.html>


More information about the es-discuss mailing list