You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
373 B
JavaScript
10 lines
373 B
JavaScript
7 years ago
|
'use strict';
|
||
|
var $export = require('./_export')
|
||
|
, $filter = require('./_array-methods')(2);
|
||
|
|
||
|
$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {
|
||
|
// 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
|
||
|
filter: function filter(callbackfn /* , thisArg */){
|
||
|
return $filter(this, callbackfn, arguments[1]);
|
||
|
}
|
||
|
});
|