en.javascript.info/1-js/02-first-steps/08-operators/1-increment-order/task.md

205 B

importance: 5


The postfix and prefix forms

What are the final values of all variables a, b, c and d after the code below?

let a = 1, b = 1;

let c = ++a; // ?
let d = b++; // ?