Build and Fill an Array from a specified length
JS
S
JavaScriptEasy way to build and flood an array with ES6
1const totalSlotsPerDay = new Array(45).fill({});Created on 8/30/2019
Easy way to build and flood an array with ES6
1const totalSlotsPerDay = new Array(45).fill({});Created on 8/30/2019