wiki/content/20201112095451-javascript_string_repeat_method.md

182 B

date id title
20201112 e3638bb4-1baa-4619-b2b9-283040f14b65 JavaScript String Repeat Method

Syntax

console.log('dodo '.repeat(3)) // dodo dodo dodo