how to print an array javascript

JavaScript
var array[]
print(array[])var array[]
print(array[])var array[]
print(array[])var array[]
print(array[])
Source

Also in JavaScript: