Easy
What is the difference between Object.freeze and Object.seal?
1const user = { name: 'Alice', age: 25 };23Object.freeze(user);4// user.name = 'Bob'; // Uncomment to test5// delete user.age; // Uncomment to test67const settings = { theme: 'dark', notifications: true };89Object.seal(settings);10settings.theme = 'light';11// delete settings.notifications; // Uncomment to test1213console.log(user);14console.log(settings);