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.

Related questions

0 votes
asked Oct 8, 2022 in JavaScript by rajeshsharma
+1 vote
asked Mar 22, 2021 in JavaScript by Robindeniel
...