DEV Community

Discussion on: 15 must-know JavaScript array methods in 2020

Collapse
 
ibrahima92 profile image
Ibrahima Ndaw

It's a handy method, but it's very similar to reduce except that reduceRight() start reducing the array from the right to the left. And for the case of reduce(), it starts from left to right. Thanks for your comment