how do you print an array in javascript code example
Example 1: javascript print array
var arr = [1,2,4,5]
console.log(...arr) //Spreading operator in JS
Example 2: how to print an array in javascript
var arr = ["Apples", "Lemons", "Mangoes"]
console.log(arr)
console.log("https://discord.gg/5yjWgMS")