Skip to main content

JavaScript Question 75

Question 75 of 0JavaScript

What's the output?

Login Required

Please login to select answers and solve this question. You can view the question without logging in.

Code:
const box = { x: 10, y: 20 };
Object.freeze(box);
const shape = box;
shape.x = 100;

console.log(shape);

Select the correct option: