projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f9b4f7986dcbef36427f7b5b2fea037cfb71e57c
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
core-js
/
features
/
instance
/
at.js
1
var at = require('../string/virtual/at');
2
3
var StringPrototype = String.prototype;
4
5
module.exports = function (it) {
6
var own = it.at;
7
return typeof it === 'string' || it === StringPrototype
8
|| (it instanceof String && own === StringPrototype.at) ? at : own;
9
};