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



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.