Minor refactoring of averageAgePerCentury.js
Minor refactoring of averageAgePerCentury.js

Move a variable used only by one function inside the function.

zeljkofilipin/eloquent-javascript,zeljkofilipin/eloquent-javascript