mirror of https://github.com/jkjoy/sunpeiwen.git
6 lines
184 B
JavaScript
6 lines
184 B
JavaScript
|
require('../../modules/es6.regexp.match');
|
||
|
var MATCH = require('../../modules/_wks')('match');
|
||
|
module.exports = function (it, str) {
|
||
|
return RegExp.prototype[MATCH].call(it, str);
|
||
|
};
|