Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
369 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-Number.range
|
---|
7 | $({ target: 'Number', stat: true }, {
|
---|
8 | range: function range(start, end, option) {
|
---|
9 | return new NumericRangeIterator(start, end, option, 'number', 0, 1);
|
---|
10 | }
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.