print an arraylist javascript code example Example: how to print an array javascript var array[] print(array[])