Skip to content

Commit 38e1bb5

Browse files
authored
Merge pull request javascript-tutorial#767 from 11un/patch-10
typo "brackets" to "parentheses"
2 parents 2862f91 + 89cdf0a commit 38e1bb5

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ The problem is that JavaScript treats `{...}` in the main code flow (not inside
335335
}
336336
```
337337

338-
To show JavaScript that it's not a code block, we can wrap the whole assignment in brackets `(...)`:
338+
To show JavaScript that it's not a code block, we can wrap the whole assignment in parentheses `(...)`:
339339

340340
```js run
341341
let title, width, height;

0 commit comments

Comments
 (0)