<reponame>pro10150/parking-system<filename>frontend/node_modules/core-js/internals/a-possible-prototype.js<gh_stars>0var global = require('../internals/global');
var isCallable = require('../internals/is-callable');

var String = global.String;
var TypeError = global.TypeError;

module.exports = function (argument) {
  if (typeof argument == 'object' || isCallable(argument)) return argument;
  throw TypeError("Can't set " + String(argument) + ' as a prototype');
};
