Skip to content

Commit 89cdf0a

Browse files
committed
typo "brackets" to "parentheses"
1 parent e774c7c commit 89cdf0a

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)