0

in array -> var courses=new array("html" , "css"); is used. again y we coding as courses[0]= "html"; courses[1]="css";

i dont understand this.what is the link between them. pls help.

29th Apr 2018, 4:20 PM
rini
rini - avatar
2 Respuestas
+ 1
Array's start counting from zero. So courses[0] contains the value "HTML". You can request the value off the second element using courses[1]. What language fobyou use please put the language you use in the tags.
29th Apr 2018, 4:59 PM
sneeze
sneeze - avatar
0
in js ya
29th Apr 2018, 5:02 PM
rini
rini - avatar