Moved position of ')' in a code block to permit proper assignment statement

This commit is contained in:
Christian Provenzano 2019-07-15 19:29:37 +00:00 committed by GitHub
parent be342e50e3
commit 7cf0e03213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,7 +349,7 @@ To show JavaScript that it's not a code block, we can make it a part of an expre
let title, width, height;
// okay now
*!*(*/!*{title, width, height}*!*)*/!* = {title: "Menu", width: 200, height: 100};
*!*(*/!*{title, width, height} = {title: "Menu", width: 200, height: 100}*!*)*/!*;
alert( title ); // Menu
```