On Tue, Mar 6, 2012 at 10:07, Thaddee Tyl <thaddee....@gmail.com> wrote:
> An interesting property of this syntax is that anonymous functions can > be written this way: > > myList.forEach(λ (item) { doWith(item) }) > > (it can also be `lambda (item) { ... }`) > Yes, any valid function identifier could be used, because it's not actually a keyword. _ (arg) { ... } f (arg) { ... } $ (arg) { ... } ƒ (arg) { ... }
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss