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.

es.typed-array.reduce.js 579B

123456789101112
  1. 'use strict';
  2. var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
  3. var $reduce = require('../internals/array-reduce').left;
  4. var aTypedArray = ArrayBufferViewCore.aTypedArray;
  5. var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
  6. // `%TypedArray%.prototype.reduce` method
  7. // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce
  8. exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {
  9. return $reduce(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
  10. });