We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6859bfe commit 797d94eCopy full SHA for 797d94e
1-js/02-first-steps/08-operators/1-increment-order/solution.md
@@ -1,5 +1,6 @@
1
2
-The answer is:
+Răspunsul este:
3
+
4
5
- `a = 2`
6
- `b = 2`
@@ -9,10 +10,11 @@ The answer is:
9
10
```js run no-beautify
11
let a = 1, b = 1;
12
-alert( ++a ); // 2, prefix form returns the new value
13
-alert( b++ ); // 1, postfix form returns the old value
+alert( ++a ); // 2, forma prefix afișează noua valoare
14
+alert( b++ ); // 1, forma sufix afișează vechea valoare
15
16
-alert( a ); // 2, incremented once
-alert( b ); // 2, incremented once
17
+alert( a ); // 2, incrementat odată
18
+alert( b ); // 2, incrementat odată
19
```
20
0 commit comments