# Introduction In this challenge, our objective is to find the squares of numbers within a sorted array and create a new array with the squares in non-decreasing order. To accomplish this, we will compose a function named `sortedSquares` within the `sortedSquares.js` file. This function will receive a sorted integer array, denoted as `nums`, and must return a new array comprising the squares of each number in `nums`, as well as maintaining non-decreasing order.
Click the virtual machine below to start practicing