What will be printed to the console with the following code?
const object = { key: 'value' };
console.log(object.hasOwnProperty('key'));
What will be printed to the console with the following code?
const object = { key: 'value' };
console.log(object.hasOwnProperty('key'));