Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
triangle of numbers - fundamentals
Liliana797979
Apr 20th, 2021
184
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
triangle
(
n
)
{
for
(
let i
=
1
;
i
<=
n
;
i
++
)
{
let numbers
=
""
;
for
(
let j
=
1
;
j
<=
i
;
j
++
)
{
numbers
+=
i
+
" "
;
}
console.
log
(
`$
{
numbers
}
`
)
;
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Older node trading
CSS | 24 min ago | 0.99 KB
FREE COINS METHOD
CSS | 24 min ago | 0.99 KB
How to hack an exchange
CSS | 25 min ago | 0.99 KB
Got $12,000 from this method
CSS | 25 min ago | 0.99 KB
This month smells like money
CSS | 25 min ago | 0.99 KB
Instant Profits Method
CSS | 25 min ago | 0.99 KB
Custom em_printables_pdf_get_invoice_number f...
7 hours ago | 0.24 KB
Exploit Documentation
CSS | 10 hours 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!