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