Urara-Blog/node_modules/.pnpm-store/v3/files/c9/b9dfce6bb7eb3f27db8ff47e0da9ba45a1ef9968c42dfc0abd7013002e77ca43b8ff9009f690ae0c627f31e10a552d1e4eb1649bd3e5b9a410a8eada4c58d9
2022-08-14 01:14:53 +08:00

16 lines
444 B
Text

'use strict';
var GetIntrinsic = require('get-intrinsic');
var originalSetProto = GetIntrinsic('%Object.setPrototypeOf%', true);
var $ArrayProto = GetIntrinsic('%Array.prototype%');
module.exports = originalSetProto || (
// eslint-disable-next-line no-proto, no-negated-condition
[].__proto__ !== $ArrayProto
? null
: function (O, proto) {
O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign
return O;
}
);