VUE_GabenParadise/node_modules/core-js/internals/a-possible-prototype.js

8 lines
208 B
JavaScript

var isObject = require('../internals/is-object');
module.exports = function (it) {
if (!isObject(it) && it !== null) {
throw TypeError("Can't set " + String(it) + ' as a prototype');
} return it;
};