Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

repeat string in javascript

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

console.log(result);
 
PREVIOUS NEXT
Tagged: #repeat #string #javascript
ADD COMMENT
Topic
Name
2+9 =