logo

Crowdly

Browser

Add to Chrome

Що виведе цей код? class Counter { constructor() { this.count = 0; } ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Що виведе цей код?
 class Counter {

constructor() {

this.count = 0;

}

increment() {

this.count++;

}

}

const c = new Counter();

c.increment();

c.increment();

console.log(c.count);

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on elr.tnpu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome