There are many ways to do that.
console.log will print one line per call on most browsers.
You can use line breaking characters ('\n') to print to a file, if you are working on an environment where you have access to IO (i.e.: NodeJS).
In HTML you can use the <br> tag, paragraphs (<p>), or you can place each line in a div. For example, with <br> you could do it like this:
var list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
for (i = 0; i < list.length; i++) {
document.getElementById("someID").innerHTML += list[i].join(" ") + "<br>";
}
Remember that each element of the outer array is an array itself, so you can print them as one element each with the join method from the Array type.
forloops?lists.lengthand list[i].length` instead of hard-coding the sizes.