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

node_modules.core-js.modules._replacer.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
module.exports = function (regExp, replace) {
  var replacer = replace === Object(replace) ? function (part) {
    return replace[part];
  } : replace;
  return function (it) {
    return String(it).replace(regExp, replacer);
  };
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy