Skip to content

Commit 4973415

Browse files
authored
update Nested Destructuring
1 parent 8346b54 commit 4973415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const user = {
193193
}
194194
}
195195
196-
const { education : { degree } }
196+
const { education : { degree } } = user;
197197
console.log(degree) //Masters
198198
```
199199

0 commit comments

Comments
 (0)