reduce() is a Left Fold, But reduceRight() Isn't a Right Fold
When you finish this blog post you should be able revisit and understand this claim: Javascript's Array.reduce() method is a left fold because it's left associative. Javascript's Array.reduceRight() is not a right fold, because it's not right associative. Instead, it's essentially Array.reverse().r…