Skip to content

Commit 2f9a190

Browse files
authored
Merge pull request #3142 from betofc89/patch-1
2 parents 1eb3a57 + 91ec60d commit 2f9a190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/02-first-steps/08-operators/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,9 @@ Such operators have the same precedence as a normal assignment, so they run afte
303303
```js run
304304
let n = 2;
305305
306-
n *= 3 + 5;
306+
n *= 3 + 5; // right part evaluated first, same as n *= 8
307307
308-
alert( n ); // 16 (right part evaluated first, same as n *= 8)
308+
alert( n ); // 16
309309
```
310310

311311
## Increment/decrement

0 commit comments

Comments
 (0)