Chapter I

The reduce() method runs a function on each array element to produce (reduce it to) a single value. It runs a function on each array element to produce (reduce it to) a single value.This method does not change the original array. This function takes 4 arguments such as the total, the item value, the item index, and the array itself. ................
................