1
Array Mapping in Modern JS
intermediate
•
Fill Blank
Completed
Fill in the array method name to transform every number into its double:
Helpful Hint:
A three-letter functional array iteration method that returns a new array.
Expected Solution:
map
Explanation: `Array.prototype.map()` creates a new array populated with the results of calling a provided function on every element.
Advertisement
Google AdSense Slot (LEADERBOARD)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php