6 lines
135 B
JavaScript
6 lines
135 B
JavaScript
|
require('../../modules/es.regexp.test');
|
||
|
|
||
|
module.exports = function (re, string) {
|
||
|
return RegExp.prototype.test.call(re, string);
|
||
|
};
|