doum
2026-04-28 182626b3b2323379cd40c5a14558825a9555e87a
1
2
3
4
5
6
7
8
9
'use strict';
var $ = require('../internals/export');
var repeat = require('../internals/string-repeat');
 
// `String.prototype.repeat` method
// https://tc39.es/ecma262/#sec-string.prototype.repeat
$({ target: 'String', proto: true }, {
  repeat: repeat
});