1const squareNumber = n => {
2 let number = ''
3 if(n < 0){
4 return false
5 }else if(n >= 0){
6 let square = Math.sqrt(n)
7 number = Math.floor(square)
8 }
9 return number ** 2 === n
10}
11console.log(squareNumber(0))