mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
12 lines
369 B
JavaScript
12 lines
369 B
JavaScript
|
'use strict';
|
||
|
var $ = require('../internals/export');
|
||
|
var NumericRangeIterator = require('../internals/numeric-range-iterator');
|
||
|
|
||
|
// `Number.range` method
|
||
|
// https://github.com/tc39/proposal-Number.range
|
||
|
$({ target: 'Number', stat: true }, {
|
||
|
range: function range(start, end, option) {
|
||
|
return new NumericRangeIterator(start, end, option, 'number', 0, 1);
|
||
|
}
|
||
|
});
|