JavaScript Magic Quiz

Test your knowledge of JavaScript by answering this quiz!
Question about JavaScript Data Structures: Arrays

I have a list of letters that I need to convert into doubles of the same letter. For example, a would become aa, b would become bb, and so on. What method would be the best to handle this transform?

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

Breakdown by Tag
0 / 0
0 / 0
Not sure about the answer? Check out:
JavaScript Data Structures: ArraysLast updated today