Version 1
[yaffs-website] / node_modules / core-js / modules / _an-instance.js
1 module.exports = function(it, Constructor, name, forbiddenField){
2   if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){
3     throw TypeError(name + ': incorrect invocation!');
4   } return it;
5 };