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