replace.js 217 Bytes Raw Blame History Permalink 1 2 3 4 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); };