webhook/node_modules/es-abstract/helpers/regexTester.js
2020-08-26 09:57:08 +10:00

11 lines
236 B
JavaScript

'use strict';
var GetIntrinsic = require('../GetIntrinsic');
var $test = GetIntrinsic('RegExp.prototype.test');
var callBind = require('./callBind');
module.exports = function regexTester(regex) {
return callBind($test, regex);
};