JavaScript Tutorial 5 - Multidimensional Arrays

Publicado em: 12 Julho 2017
no canal de: Struct Feed
480
5

In this video I go over Multidimensional arrays in JavaScript. Multidimensional arrays are basically smaller arrays inside a bigger array. So if you had a Multidimensional array like

var myarray = [ [1,2,3], [4,5,6], [7,8,9] ];

you would access the each individual item by putting 2 square brakets. For example to get value 2 you would do

myarray[0][1]

the [0] will select the first element in the bigger array, which is basically the array [1,2,3].
then the [1] is selecting the element with key 1, which is the number 2


Nesta página do site você pode assistir ao vídeo on-line JavaScript Tutorial 5 - Multidimensional Arrays duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Struct Feed 12 Julho 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 480 vezes e gostou 5 espectadores. Boa visualização!