projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7736376e9dee6488c03abb2e61443b6b53b21123
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
core-js
/
internals
/
a-possible-prototype.js
1
var isObject = require('../internals/is-object');
2
3
module.exports = function (it) {
4
if (!isObject(it) && it !== null) {
5
throw TypeError("Can't set " + String(it) + ' as a prototype');
6
} return it;
7
};