We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c37606 commit 4d37377Copy full SHA for 4d37377
1-js/04-object-basics/04-object-methods/7-calculator/task.md
@@ -2,17 +2,17 @@ importance: 5
2
3
---
4
5
-# Create a calculator
+# Stwórz kalkulator
6
7
-Create an object `calculator` with three methods:
+Stwórz obiekt `calculator` z trzema metodami:
8
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.
+- `read()` pobiera dwie wartości i zachowuje je jako właściwości obiektu.
+- `sum()` zwraca sumę zachowanych wartości.
+- `mul()` mnoży zachowane wartości i zwraca wynik.
12
13
```js
14
let calculator = {
15
- // ... your code ...
+ // ... twój kod ...
16
};
17
18
calculator.read();
0 commit comments