Hi Everyone. just doing some practice and i am running into some issues with console.log
var numbers =
for(var i =0; i<=9; i++){
numbers.push(i);
}
console.log(numbers[10])
My array prints out 0-9 in this loop, but when I try to console.log the last item in this array, item 10, it says undefined. Not to sure where the problem is.
Thoughts?