How the variable index is automatically getting equal to the number 0,1,2 and printing the elements of the array

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

Could you please post screenshots/code so we can help you?

no no.not about the code…i am asking is that an inbuilt thing in javascript that when you type araayname[index] it’ll automatically take them as 0,1,2…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.