array definition js

JavaScript
var myArray = [ "Jack", "Sawyer", "John", "Desmond" ];
Source

Also in JavaScript: