mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-24 01:43: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);
|
|
};
|