source: node_modules/core-js-pure/es/regexp/replace.js@ e48199a

main
Last change on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 376 bytes
Line 
1'use strict';
2require('../../modules/es.regexp.exec');
3require('../../modules/es.string.replace');
4var call = require('../../internals/function-call');
5var wellKnownSymbol = require('../../internals/well-known-symbol');
6
7var REPLACE = wellKnownSymbol('replace');
8
9module.exports = function (it, str, replacer) {
10 return call(RegExp.prototype[REPLACE], it, str, replacer);
11};
Note: See TracBrowser for help on using the repository browser.