Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
07. Invalid Number - Conditional Statements Advanced
vborislavova
Feb 24th, 2020
194
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
Trading method
CSS | 1 min ago | 0.32 KB
Google Docs - Exploit
15 min ago | 0.32 KB
December smells like money
CSS | 19 min ago | 0.32 KB
✅ Changelly.com Exploit
32 min ago | 0.38 KB
Trading method
CSS | 45 min ago | 0.32 KB
Google Docs - Exploit
59 min ago | 0.38 KB
We hacked 120k from this crypto exchange
9 hours ago | 2.10 KB
Untitled
9 hours ago | 2.10 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!