Javascript access array -
i trying access values in array, using developer console have printed out array , looked @ structure of array, unsure how can access these values.
var position = ctrack.getcurrentposition(); console.log(position);
below can see close my console output:
the developer console looks this. wanted access third entry open on image , out values of 0 , 1 , print them console. how achieve this?
you should able access
position[3][0] // , position[3][1];
Comments
Post a Comment