Skip to content

Commit

Permalink
move logical assignment to ES2021 (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Aug 24, 2020
1 parent 4c1a8ec commit f8dfc97
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions experimental/logical-assignment-operators.md → es2021.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# [Logical Assignment Operators][proposal-logical-assignment]
This document specifies the extensions to the core ESTree AST types to support the ES2021 grammar.

## Expressions
# Expressions

### AssignmentOperator
## AssignmentOperator

```js
extend enum AssignmentOperator {
Expand All @@ -12,6 +12,7 @@ extend enum AssignmentOperator {

- [AssignmentExpression] node has short-circuiting behavior if the `operator`
property is any of `"||="`,`"&&="`, and `"??="`.
- See [Logical Assignment Operators][proposal-logical-assignment] for details.

[proposal-logical-assignment]: https://github.com/tc39/proposal-logical-assignment
[AssignmentExpression]: ../es5.md#AssignmentExpression

0 comments on commit f8dfc97

Please sign in to comment.