Files
NapCatQQ/.pnpm-store/v3/files/d0/ce25244a370a5ba3e1fbcbbe50dcd0f152da0f76064474e31d44814293131b18d36e9354e473217de0d6315a13f98e5efb24ef269c908c521254462ee1ca41
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

18 lines
344 B
Plaintext

/*! https://mths.be/repeat v1.0.0 by @mathias */
'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
module.exports = function shimRepeat() {
var polyfill = getPolyfill();
if (String.prototype.repeat !== polyfill) {
define(String.prototype, { repeat: polyfill });
}
return polyfill;
};