JS-2 Array | Chai aur JavaScript
DATA STRUCTURES
\= how you are storing the data
Array in JS
array is object
js arrays are resizable and can contain different datatypes
zero base
const myArr = [0, 1, 2, 3, "sid", true]
//accessing
console.log(myArr[0]) //same in most of the languag...
js9.hashnode.dev2 min read