Created
June 4, 2022 01:58
-
-
Save Double0negative/b9ce3cc90eb07d3488e977189fae24bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(let i = 0;;i++) { | |
let result = i * i; | |
if(result > n) return false; | |
if(result == n) return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment