Prototype & Prototypal Inheritance

What will the console log?
function Shape() {}
Shape.prototype.area = function() { return 0; };

const shape = new Shape();
console.log(Object.hasOwn(shape, 'area'));
console.log('area' in shape);
Next Question (18/22)