function hoisting like var

P T Withington ptw at pobox.com
Fri Jul 25 08:27:43 PDT 2008


On 2008-07-25, at 10:17EDT, Lars Hansen wrote:

> Even neater, using default argument values the syntax is actually
>
>  (function (a=arg1, b=arg2) expression)()
>
> at which point 'let' is a trivial transformation.

For some reason, the words 'lambda' and 'ultimate' spring to mind... :P



More information about the Es4-discuss mailing list