Kopieren Sie ein Array ohne Zeiger in Angular
this.array2 = this
.array1
.map(el => ({...el, isActive: false }));
Perfect Peccary
this.array2 = this
.array1
.map(el => ({...el, isActive: false }));