|
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:
418 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $ = require('../internals/export');
|
|---|
| 3 | var NumericRangeIterator = require('../internals/numeric-range-iterator');
|
|---|
| 4 |
|
|---|
| 5 | // `Number.range` method
|
|---|
| 6 | // https://github.com/tc39/proposal-iterator.range
|
|---|
| 7 | // TODO: Remove from `core-js@4`
|
|---|
| 8 | $({ target: 'Number', stat: true, forced: true }, {
|
|---|
| 9 | range: function range(start, end, option) {
|
|---|
| 10 | return new NumericRangeIterator(start, end, option, 'number', 0, 1);
|
|---|
| 11 | }
|
|---|
| 12 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.