for (let i = 0; i < this.theme.length; i++) { for (let j = 0; j < dayarr.length; j++) { this.theme[i].day=[dayarr[j]] } }