0 votes
in JavaScript by
Which of the following function of Array object applies a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value?

A - pop()

B - reduce()

C - push()

D - reduceRight()

1 Answer

0 votes
by

Answer:-  D

reason:-reduceRight() − Applies a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value.

...