hexo/node_modules/core-js/fn/regexp/replace.js

6 lines
212 B
JavaScript

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);
};