summaryrefslogtreecommitdiff
path: root/src/node_modules/es-abstract/helpers/regexTester.js
blob: 982cc9f77d04d9a2bfc5d38b8a993a428e656c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
'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);
};