Sha256: c78e712fa95d72795850c72626f65573c46b4ecf386295436a571fd0fe65b1c0

Contents?: true

Size: 746 Bytes

Versions: 4

Compression:

Stored size: 746 Bytes

Contents

'use strict';
// TODO: Remove from `core-js@4`
var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
var $filterReject = require('../internals/array-iteration').filterReject;
var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');

var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;

// `%TypedArray%.prototype.filterOut` method
// https://github.com/tc39/proposal-array-filtering
exportTypedArrayMethod('filterOut', function filterOut(callbackfn /* , thisArg */) {
  var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  return fromSpeciesAndList(this, list);
}, true);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/modules/esnext.typed-array.filter-out.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/modules/esnext.typed-array.filter-out.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/modules/esnext.typed-array.filter-out.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/modules/esnext.typed-array.filter-out.js