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

15 lines
271 B
Plaintext

'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
if (String.prototype.matchAll) {
try {
''.matchAll(RegExp.prototype);
} catch (e) {
return String.prototype.matchAll;
}
}
return implementation;
};