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