If you want to define arrays in JavaScript, you can do so by using an array literal. Example:
var x = [];
var y = [1, 2, 3, 4, 5];