source: trip-planner-front/node_modules/core-js/features/instance/filter-out.js@ ceaed42

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

initial commit

  • Property mode set to 100644
File size: 302 bytes
Line 
1// TODO: Remove from `core-js@4`
2var filterOut = require('../array/virtual/filter-out');
3
4var ArrayPrototype = Array.prototype;
5
6module.exports = function (it) {
7 var own = it.filterOut;
8 return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.filterOut) ? filterOut : own;
9};
Note: See TracBrowser for help on using the repository browser.