Linting
This commit is contained in:
@ -5,7 +5,7 @@ Changes a function that accepts an array into a variadic function.
|
||||
Given a function, return a closure that collects all inputs into an array-accepting function.
|
||||
|
||||
```js
|
||||
const collectInto = fn => ( ...args ) => fn( args );
|
||||
const collectInto = fn => (...args) => fn(args);
|
||||
/*
|
||||
const Pall = collectInto( Promise.all.bind(Promise) )
|
||||
let p1 = Promise.resolve(1)
|
||||
|
||||
Reference in New Issue
Block a user