Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
src
/
third_party
/
devtools
/
node_modules
/
core-js
/
internals
/
not-a-regexp.js
blob: 7bb4e9c7aae41c999bc02e8a3cfa2f31aaa65aca [
file
] [
log
] [
blame
]
var
isRegExp
=
require
(
'../internals/is-regexp'
);
module
.
exports
=
function
(
it
)
{
if
(
isRegExp
(
it
))
{
throw
TypeError
(
"The method doesn't accept regular expressions"
);
}
return
it
;
};