Skip to content

Commit

Permalink
Revert "Typo (add codeface)" (mdn#31951)
Browse files Browse the repository at this point in the history
* Revert "Typo (add codeface)"

* Update files/en-us/web/javascript/guide/expressions_and_operators/index.md

Co-authored-by: Joshua Chen <[email protected]>

---------

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
teoli2003 and Josh-Cena authored Jan 27, 2024
1 parent 1582d17 commit 31fa0bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ console.log(f(0, x = f(), 0));
The evaluation result matches the expression to the right of the `=` sign in the
"Meaning" column of the table above. That means that `x = f()` evaluates into
whatever `f()`'s result is, `x += f()` evaluates into the resulting sum `x + f()`,
`x **= f() evaluates into the resulting power x ** f(), and so on.
`x **= f()` evaluates into the resulting power `x ** f()`, and so on.

In the case of logical assignments, `x &&= f()`,
`x ||= f()`, and `x ??= f()`, the return value is that of the
Expand Down

0 comments on commit 31fa0bb

Please sign in to comment.