Angular - Signals
Given this Angular component snippet:
What will be the value of
export class CounterComponent {
count = signal(0);
increment() {
this.count.set(this.count() + 1);
}
}What will be the value of
count() after calling increment() twice?