On Jul 1, 2013, at 17:15 , Brandon Benvie <bben...@mozilla.com> wrote:
>> So, in the light of modules, are "static" methods necessary? > > Static methods that use the |this| value to allow for constructor-side > inheritance don't work correctly if simply imported from a module. > > See Array.from and Array.of for an example of this in action. Similarly: @@create (which enables the subtyping of built-ins). -- Dr. Axel Rauschmayer a...@rauschma.de home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss