Sign in
apache
/
cordova-osx
/
6d00379c5b0ff30714987ad3172e30356620105b
/
.
/
node_modules
/
nyc
/
node_modules
/
core-js
/
modules
/
_an-instance.js
blob: c0a5f9200c15378e4e21b8ab5fb27206bf26b216 [
file
] [
log
] [
blame
]
module
.
exports
=
function
(
it
,
Constructor
,
name
,
forbiddenField
)
{
if
(!(
it instanceof
Constructor
)
||
(
forbiddenField
!==
undefined
&&
forbiddenField in it
))
{
throw
TypeError
(
name
+
': incorrect invocation!'
);
}
return
it
;
};