Skip to content

Commit 22b4bf0

Browse files
committed
fix the averages (latin counts as living)
1 parent 0c7ee3d commit 22b4bf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

05_higher_order.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,10 @@ function average(array) {
527527
528528
console.log(Math.round(average(
529529
SCRIPTS.filter(s => s.living).map(s => s.year))));
530-
// → 1188
530+
// → 1165
531531
console.log(Math.round(average(
532532
SCRIPTS.filter(s => !s.living).map(s => s.year))));
533-
// → 188
533+
// → 204
534534
```
535535

536536
So the dead scripts in Unicode are, on average, older than the living

0 commit comments

Comments
 (0)