- Write a function called
squareNumberthat will take one argument (a number), square that number, and return the result. It should also log a string likeThe result of squaring the number 3 is 9.
squareNumber that will take one argument (a number), square that number, and return the result. It should also log a string like The result of squaring the number 3 is 9.