Sign in
cobalt
/
cobalt
/
0585facbd3129ea3f3d3c63f9539aacbad3130c8
/
.
/
third_party
/
devtools
/
node_modules
/
core-js
/
internals
/
an-instance.js
blob: 6f471ccf9f2115898185231a5b9d55b545ade43c [
file
] [
log
] [
blame
]
module
.
exports
=
function
(
it
,
Constructor
,
name
)
{
if
(!(
it instanceof
Constructor
))
{
throw
TypeError
(
'Incorrect '
+
(
name
?
name
+
' '
:
''
)
+
'invocation'
);
}
return
it
;
};