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