aswi2020vldc-gitlab/templetes/node_modules/es-abstract/helpers/regexTester.js @ 56f6c6df
1 |
'use strict'; |
---|---|
2 |
|
3 |
var GetIntrinsic = require('../GetIntrinsic'); |
4 |
|
5 |
var $test = GetIntrinsic('RegExp.prototype.test'); |
6 |
|
7 |
var callBind = require('./callBind'); |
8 |
|
9 |
module.exports = function regexTester(regex) { |
10 |
return callBind($test, regex); |
11 |
};
|