JS - Arrays
Declaration and Initialization
const myArr = new Array(1, 2, 3, 4, 5, true,"gambit")
or
const myArr = [1, 2, 3, 4, 5, true,"gambit"]
Pointer:
Array is an object that has a collection of multiple item
javascriptfromscratch.hashnode.dev7 min read