We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac95137 commit bf89592Copy full SHA for bf89592
README.md
@@ -180,3 +180,19 @@ function copyToClipboard(){
180
181
```
182
183
+# Nested Destructuring
184
+
185
186
+```javascript
187
+const user = {
188
+ id: 459,
189
+ name: 'JS snippets',
190
+ age:29,
191
+ education:{
192
+ degree: 'Masters'
193
+ }
194
+}
195
196
+const { education : { degree } }
197
+console.log(degree) //Masters
198
+```
0 commit comments