Solution: Number Squaring

Let's see the solution to the Number Squaring challenge.

We'll cover the following

Solution

Task 1:

Here, we calculate the square of the number using named and arrow function.

Let’s have a look at the solution code below:

Get hands-on with 1200+ tech skills courses.