Question
How do I make an array?
Answer
Making an array is similar to making any other variable. The difference is for the value you use []
, inside of the []
you put whatever variables, strings/numbers/etc., you want to put in them, or nothing to keep it empty, and separate multiple values with a comma. Example of an array with three numbers: let arrayOfNumbers = [1, 2, 3];