Scenario Magic Quiz

Test your knowledge of Scenario by answering this quiz!
Question about JavaScript Basics II

You have an array of objects that contain user data with unique user IDs. You want to transform it to an object, such that the keys are all user IDs and the values contain the rest of the object. Which function do you use?


  • .map()
  • .reduce()
  • .filter()
How do you stack up?
My Progress
Percentage of Total Answers Correct
0 / 0
0%

Breakdown by Tag
0 / 0
0%
0 / 0
0%
Not sure about the answer? Check out:
JavaScript Basics IILast updated today