Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
third_party
/
devtools
/
node_modules
/
core-js
/
internals
/
a-possible-prototype.js
blob: 7736376e9dee6488c03abb2e61443b6b53b21123 [
file
] [
log
] [
blame
]
var
isObject
=
require
(
'../internals/is-object'
);
module
.
exports
=
function
(
it
)
{
if
(!
isObject
(
it
)
&&
it
!==
null
)
{
throw
TypeError
(
"Can't set "
+
String
(
it
)
+
' as a prototype'
);
}
return
it
;
};