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...
On this page of the site you can watch the video online Basic JavaScript (37/111) | Store Multiple Values in one Variable using JavaScript Arrays with a duration of hours minute second in good quality, which was uploaded by the user Stral Tech 28 August 2020, share the link with friends and acquaintances, this video has already been watched 381 times on youtube and it was liked by 1 viewers. Enjoy your viewing!