Skip to content

Translate 'Operators' page #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions 1-js/02-first-steps/07-operators/1-increment-order/solution.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

The answer is:
Odpowiedź to:

- `a = 2`
- `b = 2`
Expand All @@ -9,10 +9,10 @@ The answer is:
```js run no-beautify
let a = 1, b = 1;

alert( ++a ); // 2, prefix form returns the new value
alert( b++ ); // 1, postfix form returns the old value
alert( ++a ); // 2, forma przedrostkowa zwraca nową wartość
alert( b++ ); // 1, forma przyrostkowa zwraca starą wartość

alert( a ); // 2, incremented once
alert( b ); // 2, incremented once
alert( a ); // 2, inkrementowana raz
alert( b ); // 2, inkrementowana raz
```

4 changes: 2 additions & 2 deletions 1-js/02-first-steps/07-operators/1-increment-order/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ importance: 5

---

# The postfix and prefix forms
# Forma przedrostkowa i przyrostkowa

What are the final values of all variables `a`, `b`, `c` and `d` after the code below?
Jakie będą finalne wartości zmiennych `a`, `b`, `c` i `d` po wykonaniu poniższego kodu?

```js
let a = 1, b = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The answer is:
Odpowiedź to:

- `a = 4` (multiplied by 2)
- `x = 5` (calculated as 1 + 4)
- `a = 4` (pomnożona przez 2)
- `x = 5` (obliczona na podstawie działania 1 + 4)

4 changes: 2 additions & 2 deletions 1-js/02-first-steps/07-operators/2-assignment-result/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ importance: 3

---

# Assignment result
# Wynik przypisania

What are the values of `a` and `x` after the code below?
Jakie będą wartości zmiennych `a` oraz `x` po wykonaniu poniższego kodu?

```js
let a = 2;
Expand Down
Loading