A new Array(9) has nine holes, not nine values, so methods such as map skip those positions. fill assigns a specified value into every position, including holes. section 9.3
let arrayA = new Array(9).map(function() { return 1 });
let arrayB = new Array(9).fill(1);
Compare the mapped array, which remains empty, with fill, which creates an array containing nine 1s. section 9.3
