Map Function
Intermediate
Javascript
30 XP
📋 Challenge
Use the map() function to create an array of squares from [1, 2, 3, 4, 5].
Expected output: [1, 4, 9, 16, 25]
✅ Expected Output
[1,4,9,16,25]
💡 Need Help?
Click to reveal hints one at a time.
Your Progress
Status: Pending