mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 19:23:18 +00:00
9 lines
267 B
JavaScript
9 lines
267 B
JavaScript
require('../../modules/es.string.replace');
|
|
var wellKnownSymbol = require('../../internals/well-known-symbol');
|
|
|
|
var REPLACE = wellKnownSymbol('replace');
|
|
|
|
module.exports = function (it, str, replacer) {
|
|
return RegExp.prototype[REPLACE].call(it, str, replacer);
|
|
};
|