All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.es.regexp.replace.js Maven / Gradle / Ivy

The newest version!
'use strict';
require('../../modules/es.regexp.exec');
require('../../modules/es.string.replace');
var call = require('../../internals/function-call');
var wellKnownSymbol = require('../../internals/well-known-symbol');

var REPLACE = wellKnownSymbol('replace');

module.exports = function (it, str, replacer) {
  return call(RegExp.prototype[REPLACE], it, str, replacer);
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy