'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createRangeFromZeroTo = undefined;

var _keys = require('core-js/library/fn/array/keys');

var _keys2 = _interopRequireDefault(_keys);

var _from = require('core-js/library/fn/array/from');

var _from2 = _interopRequireDefault(_from);

var _isInteger = require('core-js/library/fn/number/is-integer');

var _isInteger2 = _interopRequireDefault(_isInteger);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var createRangeFromZeroTo = exports.createRangeFromZeroTo = function createRangeFromZeroTo(num) {
  return (0, _isInteger2.default)(num) ? (0, _from2.default)((0, _keys2.default)(Array(num))) : [];
};