Advertisement
51L3N7

Is square root

Nov 25th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function isSqrt( x ) {
  2.         for ( i = 0; i++ < x; )
  3.         if ( ( j = x / i ) == i ) return true;
  4.         return false;
  5. }
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement