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