The reduceRight() method of an array applies a function against an accumulator and each value of the array from right-to-left to reduce it to a single value.

    
    const numbers = [175, 50, 25];

    const numbersReducedRight = numbers.reduceRight((accumulator, element) => accumulator + element);

    console.log(numbersReducedRight);
    // 250