CodeType
Learn
…
←
Strings In Depth
3 / 18
Up next
Repeat
console
.
log
(
"="
.
repeat
(
10
));
console
.
log
(
"ab"
.
repeat
(
3
));
What you're solving
repeat builds a longer string
Explain more ↓
Start typing →