JS: аналог str_repeat

03 Apr 2014

javascript; gutter: true; first-line: 1; highlight: [] function str\_repeat($string, $multiplier) { return new Array($multiplier+1).join($string) }