Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Codewars w Sandhika 9
AlfatArdiansa
Oct 31st, 2020
1,657
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
repeatStr
=
(
n
,
s
)
=>
s.
repeat
(
n
)
;
console.
log
(
repeatStr
(
3
,
"*"
)
,
"***"
)
;
console.
log
(
repeatStr
(
5
,
"#"
)
,
"#####"
)
;
console.
log
(
repeatStr
(
2
,
"ha "
)
,
"ha ha "
)
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 5 min ago | 0.39 KB
Módulo de ranking de puntos CSS
CSS | 9 min ago | 0.49 KB
Módulo de ranking de puntos JS
jQuery | 9 min ago | 1.25 KB
Toilet Tower Defense | Askar Script
Lua | 44 min ago | 0.10 KB
Untitled
C++ | 47 min ago | 1.08 KB
News April26 24
Email | 50 min ago | 91.34 KB
Untitled
Lisp | 58 min ago | 0.88 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 1 hour 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!