Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
nikolayneykov92
Jun 12th, 2019
716
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
let n
=
2
let isPrime
=
n
>
1
for
(
let i
=
2
;
i
<=
Math
.
sqrt
(
n
)
;
i
++
)
{
if
(
n
%
i
===
0
)
{
isPrime
=
false
break
}
}
console.
log
(
isPrime
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
FREE BTC GUIDE F
JavaScript | 9 sec ago | 0.06 KB
FREE BTC GUIDE U
JavaScript | 11 sec ago | 0.06 KB
Make $200 in 15 minutes 1
JavaScript | 30 sec ago | 0.06 KB
Make $200 in 15 minutes O
JavaScript | 42 sec ago | 0.06 KB
Make $200 in 15 minutes M
JavaScript | 46 sec ago | 0.06 KB
MAKE $900 INSTANTLY 3
JavaScript | 1 min ago | 0.06 KB
MAKE $900 INSTANTLY F
JavaScript | 1 min ago | 0.06 KB
✅ MAKE $12OO IN 10 MIN R
JavaScript | 1 min ago | 0.06 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!