Arrays and collections / Arrays

let count = 15;
let arInt1 = new Array(count);
arInt1[0] = 1;
//arInt1 is [1,,,,,,,,,,,,,,]
console.log(`arInt1 is \"${arInt1}\"`);

//ECMAScript 6 feature
let arInt2 = new Array(count).fill(0);
arInt2[0] = 1;
//arInt2 is [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
console.log(`arInt2 is ${arInt2}`);