Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Sum of Numbers N…M JS Advanced
TZinovieva
Sep 14th, 2023
575
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
sumOfNumbers
(
n
,
m
)
{
let n1
=
Number
(
n
)
;
let n2
=
Number
(
m
)
;
let sum
=
0
;
for
(
let i
=
n1
;
i
<=
n2
;
i
++
)
{
sum
+=
i
;
}
return
sum
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ MAKE $9OO INSTANTLY V
JavaScript | 5 sec ago | 0.32 KB
Exploit 500$ in 15 Minutes
Java | 6 sec ago | 0.08 KB
⭐Crypto Exchange Profit Method⭐
JavaScript | 7 sec ago | 0.32 KB
⭐Crypto Exchange Profit Method⭐ 9
JavaScript | 13 sec ago | 0.32 KB
Profit Method
JavaScript | 15 sec ago | 0.32 KB
MAKE $9OO INSTANTLY D A
Java | 17 sec ago | 0.09 KB
ChangeNOW Bug (Get more on BTC swaps)
JavaScript | 22 sec ago | 0.32 KB
✅ Exploit 500$ in 15 Minutes F
JavaScript | 29 sec ago | 0.32 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!