fix reduceRight definition
Merge branch 'wasabiz/issue/reduceRight-definition-broken'