Answers for "copy an array without pointer in angular"

1

copy an array without pointer in angular

this.array2 = this
      .array1
      .map(el => ({...el, isActive: false }));
Posted by: Guest on December-29-2021

Code answers related to "copy an array without pointer in angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language