Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
JS - Prime Number Checker
vladovip
Dec 31st, 2021
1,159
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
isPrimeNumber
(
n
)
{
for
(
var
i
=
2
;
i
<
n
;
i
++
)
{
if
(
n
%
i
===
0
)
return
false
;
}
return
n
>
1
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
December smells like money
CSS | 1 min ago | 0.39 KB
✅ Changelly.com Exploit
16 min ago | 0.39 KB
Trading method
CSS | 30 min ago | 0.39 KB
Google Docs - Exploit
44 min ago | 0.39 KB
December smells like money
CSS | 53 min ago | 0.39 KB
Mod Archive - Lecture automatique
JavaScript | 6 hours ago | 6.94 KB
Untitled
10 hours ago | 1.01 KB
coding and writing poetry
17 hours ago | 1.27 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!