reduce javascript acc became numeber insted array
By rene Quigley at Jan 17 2021
using slice and reduce together in javascript
By Randy Lind at Jan 15 2021