<| and function declarations

# Herby Vojčík (14 years ago)

Hello,

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.