logo

Crowdly

Browser

Add to Chrome

Що виведе цей код? class Shape { constructor(color) { this.color = color...

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

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

constructor(color) {

this.color = color;

}

describe() {

return \`I am a \${this.color} shape\`;

}

}

class Circle extends Shape {

constructor(color, radius) {

super(color);

this.radius = radius;

}

}

const c = new Circle('red', 5);

console.log(c.describe());

0%
100%
0%
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