项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

6 lines
188 B

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