array print in js code example
Example 1: how to print an array javascript
var array[]
print(array[])
Example 2: javascript print array
var arr = [1,2,4,5]
console.log(...arr) //Spreading operator in JS
var array[]
print(array[])
var arr = [1,2,4,5]
console.log(...arr) //Spreading operator in JS