d76536732dd9310f1e12fd16a77aff89da9b6d03
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / an-instance.js
1 var global = require('../internals/global');
2 var isPrototypeOf = require('../internals/object-is-prototype-of');
3
4 var TypeError = global.TypeError;
5
6 module.exports = function (it, Prototype) {
7   if (isPrototypeOf(Prototype, it)) return it;
8   throw TypeError('Incorrect invocation');
9 };