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

6 lines
217 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
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);
};