Strings In Depth3 / 18
Up next

Repeat

console.log("=".repeat(10));
console.log("ab".repeat(3));
What you're solving

repeat builds a longer string