Basic JavaScript (37/111) | Store Multiple Values in one Variable using JavaScript Arrays

Publicado em: 28 Agosto 2020
no canal de: Stral Tech
381
1

Basic JavaScript (37/111) | Store Multiple Values in one Variable using JavaScript Arrays

Full playlist 👉    • Basic JavaScript (1/111) | Comment Your Ja...  

With JavaScript array variables, we can store several pieces of data in one place.

You start an array declaration with an opening square bracket, end it with a closing square bracket, and put a comma between each entry, like this:

var sandwich = ["peanut butter", "jelly", "bread"].

Modify the new array myArray so that it contains both a string and a number (in that order).

Hint: Refer to the example code in the text editor if you get stuck.

https://www.freecodecamp.org/learn/ja...


Nesta página do site você pode assistir ao vídeo on-line Basic JavaScript (37/111) | Store Multiple Values in one Variable using JavaScript Arrays duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Stral Tech 28 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 381 vezes e gostou 1 espectadores. Boa visualização!