const length = 5;
const numbers = [];
var i; for (i = 0; i < length; i++);{ numbers.push(i + 1); } console.log(numbers) // consoledagi natija?
Poll
- 1, 2, 3, 4, 5, 6
- 6
- NaN