Code styling
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
const rearg = (fn, indexes) => (...args) => fn(...indexes.map(idx => args[idx]));
|
||||
const rearg = (fn, indexes) => (...args) => fn(...indexes.map(i => args[i]));
|
||||
module.exports = rearg;
|
||||
|
||||
Reference in New Issue
Block a user