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:

Access this course and 1400+ top-rated courses and projects.