You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/05-data-types/10-destructuring-assignment/article.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -263,7 +263,6 @@ alert(width); // 100
263
263
alert(height); // 200
264
264
```
265
265
266
-
<<<<<<< HEAD
267
266
Le proprietà `options.title`, `options.width` e `options.height` vengono assegnate alle variabili corrispondenti.
268
267
269
268
L'ordine non ha importanza. Questo codice funzionerebbe comunque:
@@ -367,7 +366,7 @@ let { title } = options;
367
366
alert(title); // Menu
368
367
```
369
368
370
-
### The rest pattern "..."
369
+
### Il modelo rest "..."
371
370
372
371
Cosa succede se l'oggetto possiede più proprietà delle variabili da noi fornite? Possiamo prendere solamente alcune ed assegnare tutto ciò che avanza da un'altra parte?
0 commit comments