Question: Which array method should you apply to run a function for every item within an array, returning an array of all items for which the function is true?

  1. every()
  2. map()
  3. forEach()
  4. filter()

Answer: The correct answer of the above question is Option D:filter()