1
0

shim.js 192 B

12345678
  1. 'use strict';
  2. var validRegExp = require('../../valid-reg-exp');
  3. module.exports = function (string, replaceValue) {
  4. validRegExp(this);
  5. return String(string).replace(this, replaceValue);
  6. };