js string times number code example
Example 1: js string times
let string = 'Plumbus'
let count = 3
string.repeat(count); // -> 'PlumbusPlumbusPlumbus'
Example 2: print name time times in javascript
for (let i = 0; i < 10; i++) {
console.log("Hello");
}