.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / es / instance / trim-left.js
1 var trimLeft = require('../string/virtual/trim-left');
2
3 var StringPrototype = String.prototype;
4
5 module.exports = function (it) {
6   var own = it.trimLeft;
7   return typeof it === 'string' || it === StringPrototype
8     || (it instanceof String && own === StringPrototype.trimLeft) ? trimLeft : own;
9 };