loading...

re: 15 must-know JavaScript array methods in 2020 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi there, great article thanks! I think you forgot about another method, which is similar to reduce: reduceRight.
 

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

code of conduct - report abuse