Version 1
[yaffs-website] / node_modules / core-js / library / fn / regexp / replace.js
diff --git a/node_modules/core-js/library/fn/regexp/replace.js b/node_modules/core-js/library/fn/regexp/replace.js
new file mode 100644 (file)
index 0000000..adde0ad
--- /dev/null
@@ -0,0 +1,5 @@
+require('../../modules/es6.regexp.replace');
+var REPLACE = require('../../modules/_wks')('replace');
+module.exports = function(it, str, replacer){
+  return RegExp.prototype[REPLACE].call(it, str, replacer);
+};
\ No newline at end of file