Consider the following code snippet. What will be the output?
class Counter {
constructor() {
this.count = 0;
}
increment() {
this.count++;
}
static getCount() {
return this.count;
}
}
const counter = new Counter();
counter.increment();
console.log(Counter.getCount());