Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

esnext.typed-array.unique-by.js 605B

12345678910111213
  1. 'use strict';
  2. var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
  3. var arrayUniqueBy = require('../internals/array-unique-by');
  4. var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');
  5. var aTypedArray = ArrayBufferViewCore.aTypedArray;
  6. var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
  7. // `%TypedArray%.prototype.uniqueBy` method
  8. // https://github.com/tc39/proposal-array-unique
  9. exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) {
  10. return fromSpeciesAndList(this, arrayUniqueBy.call(aTypedArray(this), resolver));
  11. });