javascript.info Notes - Arrays
Array initiation
let arr = new Array(); //almost rarely used
let arr = []; // this is what we do
//special case
let arr = new Array(10); //creates an array of ten elements
length of array
let arr = ['a', 'b', 'c'];
let length = arr.length;
console...
fiftybugsofgrey.hashnode.dev7 min read