search.js 188 B

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