Reduce Method In Array In Js Questions