On Feb 27, 2015, at 7:59 AM, Claus Reinke wrote:
>
> For concise methods, the problem is already solved by 'this',
> isn't it?
>
> ({f(n){return n>1?n*this.f(n-1):1}}.f)(6)
> 720
No, not for the general case. You could have arrived here via a 'super' method
call in which case 'this.f' will take you back to a subclass' f rather then
recurring on this specific function
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss