Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Even Or Odd
Didart
Mar 5th, 2022
955
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
evenOrOdd
(
input
)
{
let number
=
Number
(
input
[
0
]
)
;
if
(
number
%
2
==
0
)
{
console.
log
(
"even"
)
;
}
else
{
console.
log
(
"odd"
)
;
}
}
evenOrOdd
(
[
"2"
]
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Changelly Exploit
6 min ago | 0.44 KB
Instant Profits Method
CSS | 6 min ago | 0.44 KB
Power of AI
CSS | 6 min ago | 0.44 KB
+12,000$ in 2 days
CSS | 6 min ago | 0.70 KB
Untitled
4 hours ago | 5.42 KB
Updated title 4
11 hours ago | 0.01 KB
Pinned by stone box
20 hours ago | 1.01 KB
Addictol Out of Memory Crash
1 day ago | 57.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!