Varit J PatelDeep understanding of `Array.prototype.reduce` methodOne wonders why to use `array.reduce` when one can simply complete the task with `for` loop. Well, there are a couple of reasons. Firstly…Jan 11, 20191Jan 11, 20191