<| and function declarations

Herby Vojčík herby at mailbox.sk
Sat Jan 21 06:38:03 PST 2012


there is possibility to use <| with function expressions:

   SuperFun <| function Fun () { ... }

and it creates parallel constructor and prototype chaining.

Would it be possible to allow:

   function SuperFun <| Fun () {

to use <| in function _declarations_ as well?

For simplicity, SuperFun may be PrimaryExpression, not MemberExpression, 
if problematic.


More information about the es-discuss mailing list