source: frontend/node_modules/core-js-pure/modules/esnext.bigint.range.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 523 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-iterator.range
8// TODO: Remove from `core-js@4`
9if (typeof BigInt == 'function') {
10 $({ target: 'BigInt', stat: true, forced: true }, {
11 range: function range(start, end, option) {
12 return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));
13 }
14 });
15}
Note: See TracBrowser for help on using the repository browser.