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`
|
---|
2 | var filterOut = require('../array/virtual/filter-out');
|
---|
3 |
|
---|
4 | var ArrayPrototype = Array.prototype;
|
---|
5 |
|
---|
6 | module.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.