Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
07. Invalid Number - Conditional Statements Advanced
vborislavova
Feb 24th, 2020
169
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
invalidNumber
(
input
)
{
let number
=
Number
(
input.
shift
(
)
)
;
if
(
!
(
(
number
>=
100
&&
number
<=
200
)
||
number
==
0
)
)
{
console.
log
(
"invalid"
)
;
}
else
{
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
The Lunar Kitsune - Yohana Tsukiko
33 min ago | 21.38 KB
Crypto profits are insane
42 min ago | 0.12 KB
Decentralized Money
42 min ago | 0.42 KB
novagente logrocket script
2 hours ago | 0.34 KB
Ethereum
2 hours ago | 0.38 KB
Bitcoin is Amazing
8 hours ago | 0.12 KB
Roblox Scripts
14 hours ago | 0.02 KB
December smells like money
14 hours 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!