6 lines
188 B
JavaScript
Raw Permalink Normal View History

2025-04-19 15:38:48 +08:00
require('../../modules/es6.regexp.search');
var SEARCH = require('../../modules/_wks')('search');
module.exports = function (it, str) {
return RegExp.prototype[SEARCH].call(it, str);
};