Angular - Lifecycle Hooks
Identify the issue in this
ngDoCheck implementation:ngDoCheck() {
if (this.items !== this.previousItems) {
this.previousItems = this.items;
console.log('Items changed');
}
}