Question 9
What will be logged on to the console, if the program written below is executed?
class Circle { constructor(r) { this.r = r }}
Circle.prototype.area = function () { return 3.14 * this.r}
const obj1 = new Circle(2)console.log( Circle.prototype === obj1.__proto__.__proto__, Circle.prototype === obj1.__proto__)false false
false true
true true
true false