Skip to content

Commit

Permalink
Typo (add codeface) (#31920)
Browse files Browse the repository at this point in the history
Update index.md
  • Loading branch information
dawei-wang authored Jan 26, 2024
1 parent b20bd35 commit ee05e49
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 ** 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

0 comments on commit ee05e49

Please sign in to comment.