Echo JS 0.11.0

<~>
sylvainpv 3289 days ago. link 4 points ▲ ▼
My own experience of mind-blowing one line of JavaScript is 
uncurry = Function.bind.bind(Function.call);

Now, the line of code in the article can be replaced by:
addressParts.map(uncurry(String.prototype.trim));

It took me hours to figure it out

Replies

manabu 3288 days ago. link 1 point ▲ ▼
Wow, this is a whole different ball game.