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.bigint.range.js 474B

1234567891011121314
  1. 'use strict';
  2. /* eslint-disable es/no-bigint -- safe */
  3. var $ = require('../internals/export');
  4. var NumericRangeIterator = require('../internals/numeric-range-iterator');
  5. // `BigInt.range` method
  6. // https://github.com/tc39/proposal-Number.range
  7. if (typeof BigInt == 'function') {
  8. $({ target: 'BigInt', stat: true }, {
  9. range: function range(start, end, option) {
  10. return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));
  11. }
  12. });
  13. }