Initial commit

This commit is contained in:
2025-07-23 09:31:23 +02:00
commit 151c62dd46
18 changed files with 204 additions and 0 deletions

13
Object/desctructing.js Normal file
View File

@@ -0,0 +1,13 @@
const user = {
name: "Tomek",
settings: {
theme: "light",
notifications: true
}
};
const { name, settings } = user;
settings.theme = "dark";
console.log(user.settings.theme);
console.log(settings.theme);