Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

print string multiple times in javascript

let text = 'Hello world!';
let result = text.repeat(4);

console.log(result);
 
PREVIOUS NEXT
Tagged: #print #string #multiple #times #javascript
ADD COMMENT
Topic
Name
3+6 =