ubdate
This commit is contained in:
11
node_modules/es-abstract/helpers/regexTester.js
generated
vendored
Normal file
11
node_modules/es-abstract/helpers/regexTester.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var $test = GetIntrinsic('RegExp.prototype.test');
|
||||
|
||||
var callBind = require('call-bind');
|
||||
|
||||
module.exports = function regexTester(regex) {
|
||||
return callBind($test, regex);
|
||||
};
|
||||
Reference in New Issue
Block a user