Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

string repeat in javascript

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

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