#Python Code
characters = "Hello World!"
print(characters * 4) #it Will Print Hello World! 4 times
// Javascript Code
characters = "Hello World!"
console.log(characters * 4)
In javascript you can use the inbuilt property 'repeat' of a string
characters = "Hello World!";
console.log(characters.repeat(4));
You can use repeat().
const chorus = 'Hello World! ';
console.log(`${chorus.repeat(4)}`);
Edit: Use the other person's reply instead of mine, it's way simpler