ran npm run tdd
This commit is contained in:
@ -1 +1,2 @@
|
||||
module.exports = objectFromPairs = arr => arr.reduce((a, v) => ((a[v[0]] = v[1]), a), {});
|
||||
const objectFromPairs = arr => arr.reduce((a, v) => ((a[v[0]] = v[1]), a), {});
|
||||
module.exports = objectFromPairs
|
||||
Reference in New Issue
Block a user