Tests for averageBy, maxBy, minBy
Fixed examples in minBy
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
const xProd = (a, b) => a.reduce((acc,x) => acc.concat(b.map(y => [x, y])),[]);
|
||||
const xProd = (a, b) => a.reduce((acc, x) => acc.concat(b.map(y => [x, y])), []);
|
||||
module.exports = xProd
|
||||
Reference in New Issue
Block a user