UNPKG
@miniu/core-js
Version:
latest (2.6.12)
2.6.12
Standard library
github.com/zloirock/core-js
zloirock/core-js
@miniu/core-js
/
fn
/
regexp
/
search.js
6 lines
(5 loc)
•
188 B
JavaScript
View Raw
1
2
3
4
5
6
require
(
'../../modules/es6.regexp.search'
);
var
SEARCH
=
require
(
'../../modules/_wks'
)(
'search'
);
module
.
exports
=
function
(
it, str
) {
return
RegExp
.
prototype
[
SEARCH
].
call
(it, str); };