I need to create duplicates of an array of objects multiple times, as I require each one for different uses.
if(!this.tempLookups){
for (let count = 0; count < this.dates.length; count++) {
this.tempLookups[count] = this.lookups[key];
}
}
An error occurred: Uncaught (in promise) TypeError: Cannot set property '0' of null