Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
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
;
};