Basic JavaScript - For Loop

Why is the array showing NaN instead of the numbers which I have written down in comment? Any explanation?

Please post your actual code instead of a picture. Thanks

What are the values of a[-1] and a[-2]?

Add the code, please

Your code is incorrect. For further feedback, copy and paste the lines of code into your response here on the forum inside a code click. (Or place three backticks on a line above and below the code block so it is formatted for the forum )