AI

Transform data with .map()! It creates a new array by applying a function to each item.

Your Task:

  • Create productNames array by mapping over products
  • Extract just the name property from each product
TypeScript Solution
Loading...

Submit your code to see test results