Merge pull request #3142 from betofc89/patch-1
This commit is contained in:
commit
2f9a190994
1 changed files with 2 additions and 2 deletions
|
@ -303,9 +303,9 @@ Such operators have the same precedence as a normal assignment, so they run afte
|
|||
```js run
|
||||
let n = 2;
|
||||
|
||||
n *= 3 + 5;
|
||||
n *= 3 + 5; // right part evaluated first, same as n *= 8
|
||||
|
||||
alert( n ); // 16 (right part evaluated first, same as n *= 8)
|
||||
alert( n ); // 16
|
||||
```
|
||||
|
||||
## Increment/decrement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue