jiangping
2025-04-22 55b98737d5c4240b8035914a15e6975a9a71b447
1
2
3
4
5
6
7
8
9
10
'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../array/virtual/push');
 
var ArrayPrototype = Array.prototype;
 
module.exports = function (it) {
  var own = it.push;
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own;
};