source: trip-planner-front/node_modules/core-js/es/instance/replace-all.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 310 bytes
Line 
1var replaceAll = require('../string/virtual/replace-all');
2
3var StringPrototype = String.prototype;
4
5module.exports = function (it) {
6 var own = it.replaceAll;
7 return typeof it === 'string' || it === StringPrototype
8 || (it instanceof String && own === StringPrototype.replaceAll) ? replaceAll : own;
9};
Note: See TracBrowser for help on using the repository browser.