Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
nikolayneykov
Nov 8th, 2019
177
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
const
numbers
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
;
const
result
=
numbers.
reduce
(
(
acc
,
el
)
=>
[
...
acc
,
{
number
:
el
}
]
,
[
]
)
;
console.
log
(
result
)
;
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!