Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
nikolayneykov
Nov 7th, 2019
186
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
const
arr
=
[
{
number
:
1
}
,
{
number
:
2
}
,
{
number
:
3
}
,
{
number
:
4
}
,
{
number
:
5
}
]
;
const
odd
=
arr.
map
(
x
=>
x.
number
)
.
filter
(
x
=>
x
%
2
===
1
)
;
console.
log
(
odd
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
+5k in one day
HTML 5 | 1 hour ago | 0.37 KB
Easy money
PHP | 1 hour ago | 0.37 KB
Monetizing Method
Prolog | 1 hour ago | 0.37 KB
free money glitch
Lua | 1 hour ago | 0.37 KB
Guides
Make | 1 hour ago | 0.37 KB
+5k in one day
JavaScript | 1 hour ago | 0.37 KB
Free Money Method
C++ | 2 hours ago | 0.41 KB
Easy money
JavaScript | 2 hours ago | 0.38 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!