Skip to content

Commit 4d37377

Browse files
authored
translated
1 parent 6c37606 commit 4d37377

File tree

1 file changed

+6
-6
lines changed
  • 1-js/04-object-basics/04-object-methods/7-calculator

1 file changed

+6
-6
lines changed

1-js/04-object-basics/04-object-methods/7-calculator/task.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ importance: 5
22

33
---
44

5-
# Create a calculator
5+
# Stwórz kalkulator
66

7-
Create an object `calculator` with three methods:
7+
Stwórz obiekt `calculator` z trzema metodami:
88

9-
- `read()` prompts for two values and saves them as object properties.
10-
- `sum()` returns the sum of saved values.
11-
- `mul()` multiplies saved values and returns the result.
9+
- `read()` pobiera dwie wartości i zachowuje je jako właściwości obiektu.
10+
- `sum()` zwraca sumę zachowanych wartości.
11+
- `mul()` mnoży zachowane wartości i zwraca wynik.
1212

1313
```js
1414
let calculator = {
15-
// ... your code ...
15+
// ... twój kod ...
1616
};
1717

1818
calculator.read();

0 commit comments

Comments
 (0)