Create A List With Javascript Code Example

Snippet 1
  var list = [1 ,2 ,"apple",true]; 
Snippet 2
  
var cars = ["Saab", "Volvo", "BMW"];