0f6817c8804ac98c460fac7bcc95e69a4020535aac2dd93acc279f950629345b7a232270fff1193e4613c1817cb164afb7c65a4380e8afd30b19dcb92e7a02 397 B

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