array rentang angka

k=5
console.log(
   Array.from({length:5},(v,k)=>k+1)
)
NoAnswerDan