source: trip-planner-front/node_modules/core-js/modules/esnext.bigint.range.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 474 bytes
Line 
1'use strict';
2/* eslint-disable es/no-bigint -- safe */
3var $ = require('../internals/export');
4var NumericRangeIterator = require('../internals/numeric-range-iterator');
5
6// `BigInt.range` method
7// https://github.com/tc39/proposal-Number.range
8if (typeof BigInt == 'function') {
9 $({ target: 'BigInt', stat: true }, {
10 range: function range(start, end, option) {
11 return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));
12 }
13 });
14}
Note: See TracBrowser for help on using the repository browser.