1 var isPrototypeOf = require('../../internals/object-is-prototype-of');
2 var arrayMethod = require('../array/virtual/at');
3 var stringMethod = require('../string/virtual/at');
5 var ArrayPrototype = Array.prototype;
6 var StringPrototype = String.prototype;
8 module.exports = function (it) {
10 if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.at)) return arrayMethod;
11 if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.at)) {