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