Update readme.md (#98)

Remove useless array from `partial` example definition
This commit is contained in:
Isiah Meadows 2016-08-11 23:45:27 -04:00 committed by hemanth.hm
parent 82e18f311f
commit 946058d20a

View file

@ -113,7 +113,7 @@ const partial = (f, ...args) =>
// returns a function that takes the rest of the arguments
(...moreArgs) =>
// and calls the original function with all of them
f(...[...args, ...moreArgs]);
f(...args, ...moreArgs);
// Something to apply
const add3 = (a, b, c) => a + b + c;