Which statements about reduce are true? Select all that apply.
It always returns an array
It always requires an explicit initial value
It combines elements into one accumulated result✓پاسخ درست
A supplied initial value starts the accumulator✓پاسخ درست
توضیح
reduce combines elements through an accumulator, and a supplied initial value starts that accumulation. Without one on a nonempty array, the first element becomes the starting accumulator rather than being combined as an ordinary later element immediately.