/> /> /> /> /> Array.prototype.reduce() vs Array.prototype.forEach() —…