en.javascript.info/1-js/02-first-steps/07-operators/1-increment-order/task.md
Ilya Kantor 0fcf9f84fa fixes
2017-03-24 17:28:37 +03:00

14 lines
205 B
Markdown

importance: 5
---
# The postfix and prefix forms
What are the final values of all variables `a`, `b`, `c` and `d` after the code below?
```js
let a = 1, b = 1;
let c = ++a; // ?
let d = b++; // ?
```