/node_modules/babel-polyfill/node_modules/core-js/library/modules/_an-instance.js
https://bitbucket.org/worklabschd/bingle_customer2 · JavaScript · 5 lines · 5 code · 0 blank · 0 comment · 3 complexity · cb8e94b8a9aca97c2155b496ddaad573 MD5 · raw file
- module.exports = function (it, Constructor, name, forbiddenField) {
- if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
- throw TypeError(name + ': incorrect invocation!');
- } return it;
- };