I'm using ngx-charts (charts library for Angular2+) and I found this line of code that I don't understand.
@Input() activeEntries: any[] = [];
/* ... */
/* Then, in a function */
this.activeEntries = [...this.activeEntries];
To me, it has no effect. Do you know this usage and what it does ?
Thank you