source: trip-planner-front/node_modules/core-js/modules/esnext.typed-array.filter-reject.js@ 6c1585f

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

initial commit

  • Property mode set to 100644
File size: 716 bytes
Line 
1'use strict';
2var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
3var $filterReject = require('../internals/array-iteration').filterReject;
4var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');
5
6var aTypedArray = ArrayBufferViewCore.aTypedArray;
7var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
8
9// `%TypedArray%.prototype.filterReject` method
10// https://github.com/tc39/proposal-array-filtering
11exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thisArg */) {
12 var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
13 return fromSpeciesAndList(this, list);
14});
Note: See TracBrowser for help on using the repository browser.