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