aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/fn/regexp/match.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/fn/regexp/match.js')
-rw-r--r--node_modules/core-js/fn/regexp/match.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/core-js/fn/regexp/match.js b/node_modules/core-js/fn/regexp/match.js
new file mode 100644
index 000000000..400d0921e
--- /dev/null
+++ b/node_modules/core-js/fn/regexp/match.js
@@ -0,0 +1,5 @@
+require('../../modules/es6.regexp.match');
+var MATCH = require('../../modules/_wks')('match');
+module.exports = function(it, str){
+ return RegExp.prototype[MATCH].call(it, str);
+}; \ No newline at end of file