https://cdn.educba.com/academy/wp-content/uploads/2020/03/reduce-Function-JavaScript-1.png