Search
The function squaredNumbers should accept an array of numbers as input and returns a new array with each number squared. If the array is empty, it returns 0.
For example: