You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
545 B
14 lines
545 B
'use strict'; |
|
var $ = require('../internals/export'); |
|
var $filterReject = require('../internals/array-iteration').filterReject; |
|
var addToUnscopables = require('../internals/add-to-unscopables'); |
|
|
|
// `Array.prototype.filterReject` method |
|
// https://github.com/tc39/proposal-array-filtering |
|
$({ target: 'Array', proto: true, forced: true }, { |
|
filterReject: function filterReject(callbackfn /* , thisArg */) { |
|
return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); |
|
} |
|
}); |
|
|
|
addToUnscopables('filterReject');
|
|
|