Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
308 bytes
|
Line | |
---|
1 | require('../../modules/es.regexp.exec');
|
---|
2 | require('../../modules/es.string.replace');
|
---|
3 | var wellKnownSymbol = require('../../internals/well-known-symbol');
|
---|
4 |
|
---|
5 | var REPLACE = wellKnownSymbol('replace');
|
---|
6 |
|
---|
7 | module.exports = function (it, str, replacer) {
|
---|
8 | return RegExp.prototype[REPLACE].call(it, str, replacer);
|
---|
9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.