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.for-each.js 561B

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