Opal-Estate-Pro/node_modules/core-js/fn/regexp/search.js
2019-09-13 11:27:52 +07:00

6 lines
188 B
JavaScript

require('../../modules/es6.regexp.search');
var SEARCH = require('../../modules/_wks')('search');
module.exports = function (it, str) {
return RegExp.prototype[SEARCH].call(it, str);
};