Consider the following code snippet:
const person = {
name: 'John',
age: 30
};
person.name = 'Jane';
console.log(person.name);
What will be the output of the console.log statement?
Consider the following code snippet:
const person = {
name: 'John',
age: 30
};
person.name = 'Jane';
console.log(person.name);
What will be the output of the console.log statement?