Sugar for *.prototype and for calling methods as functions

Axel Rauschmayer axel at
Tue Feb 21 06:41:22 PST 2012

> There is a proposal for making available existing functions via modules in ES6:
> If there are methods missing from this list that can reasonably be
> used as stand-alone functions, then I'm sure nobody will object to
> adding them.

Beautiful, no more constructors-as-poor-man’s-namespaces.

All generic methods could be in such modules, with uncurried `this`. But, with generic methods I’m undecided, they also make sense as “static” methods:

Dr. Axel Rauschmayer
axel at


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list