--- date: 20201112 id: e3638bb4-1baa-4619-b2b9-283040f14b65 title: JavaScript String Repeat Method --- # Syntax ``` javascript console.log('dodo '.repeat(3)) // dodo dodo dodo ```