For an analytics dashboard that requires data transformation, how would higher-order functions streamline this process?

  • map
  • reduce
  • filter
  • forEach
The correct option is map. map is used for transforming each element of an array and creating a new array with the transformed values. It is ideal for data transformation tasks in scenarios like an analytics dashboard.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *