We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 256867f commit 6821f8eCopy full SHA for 6821f8e
ageDifference.js
@@ -1,8 +1,3 @@
1
-function average(array) {
2
- function plus(a, b) { return a + b; }
3
- return array.reduce(plus) / array.length;
4
-}
5
-
6
var byName = {};
7
ancestry.forEach(function(person) {
8
byName[person.name] = person;
0 commit comments