What will be the output of the following code when executed in strict mode?
"use strict";
var obj = {
x: 10,
y: 20
};
Object.freeze(obj);
obj.x = 30;
console.log(obj.x);
What will be the output of the following code when executed in strict mode?
"use strict";
var obj = {
x: 10,
y: 20
};
Object.freeze(obj);
obj.x = 30;
console.log(obj.x);