securityos/node_modules/core-js/fn/regexp/search.js

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);
};