DEV Community

Discussion on: A simple explanation of functional pipe in JavaScript

Collapse
 
fc250152 profile image
Nando

smart and beautiful! kudos, Ben!

a little typo maybe in "Functional programming FTW!" paragraph:
function double(array) {
return arr.map(x => x + x);
}
I think it should be:
return array.map ...
;)

have a good week-end!!