Skip to content

Commit

Permalink
typo assignment page fix (#37174)
Browse files Browse the repository at this point in the history
  • Loading branch information
gagan-bhullar-tech authored Dec 11, 2024
1 parent c929908 commit 3e80e8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Note that the implication of the above is that, contrary to popular misinformati

### Assignment with destructuring

The left-hand side of can also be an assignment pattern. This allows assigning to multiple variables at once.
The left-hand side can also be an assignment pattern. This allows assigning to multiple variables at once.

```js
const result = /(a+)(b+)(c+)/.exec("aaabcc");
Expand Down

0 comments on commit 3e80e8e

Please sign in to comment.