82a1ceb3c08a8fadba3f9c6c0b90055a034228ff950f41b1415299cd5e56f75c1aa3fbc2f38252b0d4be80f456dfbda28437dbdfc64ef094e82eaeb79bfcd7 400 B

1234567891011
  1. 'use strict';
  2. var isPrototypeOf = require('../../internals/object-is-prototype-of');
  3. var method = require('../string/virtual/starts-with');
  4. var StringPrototype = String.prototype;
  5. module.exports = function (it) {
  6. var own = it.startsWith;
  7. return typeof it == 'string' || it === StringPrototype
  8. || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;
  9. };