Skip to content

Commit c951050

Browse files
authored
Translated solution.md
1 parent 61dfac5 commit c951050

File tree

1 file changed

+5
-5
lines changed
  • 1-js/02-first-steps/07-operators/1-increment-order

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
The answer is:
2+
Atsakymai yra:
33

44
- `a = 2`
55
- `b = 2`
@@ -9,10 +9,10 @@ The answer is:
99
```js run no-beautify
1010
let a = 1, b = 1;
1111

12-
alert( ++a ); // 2, prefix form returns the new value
13-
alert( b++ ); // 1, postfix form returns the old value
12+
alert( ++a ); // 2, priešdėlio forma grąžina naująją vertę
13+
alert( b++ ); // 1, priedėlio forma grąžina senąją vertę
1414

15-
alert( a ); // 2, incremented once
16-
alert( b ); // 2, incremented once
15+
alert( a ); // 2, padidintas vieną kartą
16+
alert( b ); // 2, padidintas vieną kartą
1717
```
1818

0 commit comments

Comments
 (0)