Parameters: It accept a parameter callback function which accept some parameters specified below-
- previousValue: It is the previously returned value.
- currentValue: It is the current element being processed in the typedArray.
Return value: It returns the result of the reduceRight() function.
10 18 9 20