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

18 lines
352 B
Plaintext

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