6 ms·
Agree. Without multi line lambdas im javascript, promises would never have been invented. The braces also makes it easier to find the start and end of a anonym
by Too 8y ago
Agree. Without multi line lambdas im javascript, promises would never have been invented.
The braces also makes it easier to find the start and end of a anonymous function even if it's just a one liner, compared to pythons where its only delimited by : and ,