Multi-dimensional Array in Javascript

A very simple example of populating an element with data from a multi-dimensional array in javascript.

Example

 
Here is the javascript

var myarray = [
["100 Rifles","1969","Tom Gries","Adventure, Western","USA"],
["2001: A Space Odyssey","1968","Stanley Kubrick","Sci-Fi","UK"],
["39 Steps, The","1935","Alfred Hitchcock","Mystery, Thriller","UK"],
["8MM","1999","Joel Schumacher","Crime, Mystery, Thriller","Australia"],
["Zodiac","2007","David Fincher","Crime, Drama, Mystery, Thriller","Germany"]
];

function loadData() {
  for (row = 0; row < myarray.length; row++) {
    for (col = 0; col < myarray[row].length; col++) {
      document.getElementById("output").innerHTML += myarray[row][col] + " | ";
    }
  document.getElementById("output").innerHTML += " <br />";
  }
}