Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 19th, 2021
774
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
numbers
(
input
)
{
let n
=
Number
(
input.
shift
(
)
)
;
let sum
=
0
;
while
(
sum
<
n
)
{
let num
=
Number
(
input.
shift
(
)
)
;
sum
+=
num
;
}
console.
log
(
sum
)
;
}
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Got $12,000 from this module bug
CSS | 18 min ago | 1.00 KB
This month smells like money
CSS | 18 min ago | 1.00 KB
Instant Profits Method
CSS | 18 min ago | 1.00 KB
Free Money Method
CSS | 18 min ago | 1.00 KB
+12,000$ in 2 days
CSS | 18 min ago | 1.00 KB
✅ Changelly Free Money Method
CSS | 18 min ago | 1.00 KB
Got $12,000 from this module bug
CSS | 50 min ago | 0.99 KB
This month smells like money
CSS | 50 min ago | 0.99 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!