title: Checking if array length is a perfect square
body: <p>I am trying to write an if statement to check to see if the amount of numbers a user enters into the array is a perfect square (4, 9, 25, 36...). </p>
  
  <pre><code>if(array.length != Math.sqrt(array))
  </code></pre>
  
  <p>I know this isn't correct and I know it is probably something easy, but I can't seem to get how to think of an if statement to see if my array is a number that is a perfect square. </p>
  
  <p>Any help is appreciated, thank you.</p>