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

Publicado el: 28 agosto 2020
en el 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...


En esta página del sitio puede ver el video en línea Basic JavaScript (37/111) | Store Multiple Values in one Variable using JavaScript Arrays de Duración hora minuto segunda en buena calidad , que subió el usuario Stral Tech 28 agosto 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 381 veces y le gustó 1 a los espectadores. Disfruta viendo!