Urara-Blog/node_modules/.pnpm-store/v3/files/ea/083e0efa5f192bf9d85071b8d70762561dcedcb19952d52451bfdd448af29d11f87100e5fe901a77871b6da4f532b6b512f1267b7ccd5a0a0c896a06e7be61
2022-08-14 01:14:53 +08:00

15 lines
382 B
Text

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