function getNumber(num) { var arr = Array.from(Array(num).keys(), n => n + 1); arr.unshift(0) return arr } export default { getNumber }