Skip to content

Commit b63dda6

Browse files
authored
Merge pull request #1152 from caproven/patch-1
Corrected no-declaration object destructuring
2 parents 08533d4 + 7cf0e03 commit b63dda6

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/09-destructuring-assignment

1 file changed

+1
-1
lines changed

1-js/05-data-types/09-destructuring-assignment/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ To show JavaScript that it's not a code block, we can make it a part of an expre
349349
let title, width, height;
350350

351351
// okay now
352-
*!*(*/!*{title, width, height}*!*)*/!* = {title: "Menu", width: 200, height: 100};
352+
*!*(*/!*{title, width, height} = {title: "Menu", width: 200, height: 100}*!*)*/!*;
353353

354354
alert( title ); // Menu
355355
```

0 commit comments

Comments
 (0)