.gitignore added
[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 };