-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.cdsl
30 lines (30 loc) · 1002 Bytes
/
task.cdsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"jsLectureId": 12,
"reward": 1,
"tutors": [
"Sigma"
],
"runAs": "node",
"i18n": {
"en": {
"title": "One will do",
"description": [
"Implement the function `oneWillDo` in `helper.js`. It should accept 3 boolean parameters (x, y, z) and",
"- return `true`, if at least one of them is `true`",
"- return `false` otherwise",
"",
"The function `oneWillDo` should NOT contain any `if` statements"
]
},
"ru": {
"title": "Одного достаточно",
"description": [
"Реализуй функцию `oneWillDo` в `helper.js`. Она должна принять 3 логических параметра (x, y, z) и",
"- если хотя бы один из них `true`, вернуть `true`",
"- иначе, вернуть `false`",
"",
"Функция `oneWillDo` НЕ должна содержать НИ ОДНОГО блока `if`"
]
}
}
}