Y
Hacker News
new
|
ask
|
show
|
jobs
by
Retra
4017 days ago
Well, if you need multiple lines, you probably don't need your function to be anonymous. (Your example is just `sum`...)
1 comments
jimmaswell
4016 days ago
I've needed it many times in the past where the function I'm assigning can't be done as a one-liner like that.
link