javascript-enlightenment
javascript-enlightenment copied to clipboard
update the comment to match the used reduceRight()
The comment used to describe how the Array.reduceRight() function works is the same comment used to describe how the Array.reduce() function works. I just edited the comment on how the Array.reduceRight() function works to make it clear that it iterates over the array from right to left not from left to right.