Skip to content

Commit 07b2743

Browse files
committed
task 5 translated
1 parent 0fa39a4 commit 07b2743

File tree

1 file changed

+3
-5
lines changed
  • 1-js/04-object-basics/01-object/5-sum-object

1 file changed

+3
-5
lines changed

1-js/04-object-basics/01-object/5-sum-object/task.md

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

33
---
44

5-
# Sum object properties
5+
# Сумма свойств объекта
66

7-
We have an object storing salaries of our team:
7+
У нас есть объект, в котором хранятся зарплаты нашей команды:
88

99
```js
1010
let salaries = {
@@ -14,6 +14,4 @@ let salaries = {
1414
}
1515
```
1616

17-
Write the code to sum all salaries and store in the variable `sum`. Should be `390` in the example above.
18-
19-
If `salaries` is empty, then the result must be `0`.
17+
Напишите код для суммирования всех зарплат и сохраните результат в переменной `sum`. Должно получится `390`. Если объект `salaries` пуст, то результат должен быть `0`.

0 commit comments

Comments
 (0)