repeating a string in javascript code example
Example 1: js multiply string
let myString = 'test';
myString.repeat(3); // 'testtesttest'
Example 2: "$".repeat
"$".repeat(
let myString = 'test';
myString.repeat(3); // 'testtesttest'
"$".repeat(