Syntax to follow -
var yourArrayName = ;
Anything within the
 will become the array
Strings go in quotes, other values are simply entered. Remember to comma delineate each value in the array.
var names = ["Fred", "Amy", "Bert", "Mary-Ann"]; var ages = [66, 28, 7, 3] console.log(names + ' is ' + ages);
You don't want to do this if you are creating a simple list, but this helps to illustrate how an array can be built and have options to add and remove properties.
This has a downside that you have locked in the number of objects you can add to the array, and that could be bad.
var longList = new Array(3); longList = "Star Trek"; longList = "Godzilla"; longList = "Office Space"; console.log(longList);
A better way to do this is to create an empty array and then as you work through the problem you are trying to solve, add the objects to the array as needed.
var emptyList = ; emptyList = "Old records"; emptyList = "Old shoes"; emptyList = "Old people"; console.log(emptyList);