Challenge for Each block parameters
Challenge
Given ar, an array of numbers, return an array containing the squares of all those numbers.
Guideline: Use map to map the numbers to their squares.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.