All challenges
Multiple ChoiceIntermediate 30s

Array reduce

Choose the best answer for: reduce method
Options
  1. 1reduce((acc, curr) => ...) accumulates values to a single result
  2. 2reduce doesn't take an initial value and always starts from zero
  3. 3reduce is the same as filter and returns the filtered elements
  4. 4reduce returns the array of intermediate accumulated values

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle