Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Typo (add codeface)" #31951

Merged
merged 2 commits into from
Jan 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Update files/en-us/web/javascript/guide/expressions_and_operators/ind…
…ex.md

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
teoli2003 and Josh-Cena committed Jan 27, 2024
commit 7994de897d49d260a72672cae2b8118221798f07
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 ** y`, 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