1 require('../../modules/es.regexp.exec');
2 require('../../modules/es.string.replace');
3 var call = require('../../internals/function-call');
4 var wellKnownSymbol = require('../../internals/well-known-symbol');
6 var REPLACE = wellKnownSymbol('replace');
8 module.exports = function (it, str, replacer) {
9 return call(RegExp.prototype[REPLACE], it, str, replacer);