|
@@ -188,8 +188,8 @@ const funcObj = {
|
|
'cube': function cubeSample() { cube(5) },
|
|
'cube': function cubeSample() { cube(5) },
|
|
'avg2': function avg2Sample() {avg2(10, 5) },
|
|
'avg2': function avg2Sample() {avg2(10, 5) },
|
|
'sum3': function sum3Sample() {sum3(5, 10) },
|
|
'sum3': function sum3Sample() {sum3(5, 10) },
|
|
- 'intRandom': function intRandomSample() {intRandom(10)},
|
|
|
|
- 'greetAll': function greetAllSample() { greetAll("Superman", "SpiderMan", "Captain Obvious") },
|
|
|
|
|
|
+ 'intrandom': function intRandomSample() {intRandom(10)},
|
|
|
|
+ 'greetall': function greetAllSample() { greetAll("Superman", "SpiderMan", "Captain Obvious") },
|
|
'sum': function sumSample() {sum(10, 20, 40, 100)}
|
|
'sum': function sumSample() {sum(10, 20, 40, 100)}
|
|
}
|
|
}
|
|
var sample2 = prompt("Введите название задания еще раз");
|
|
var sample2 = prompt("Введите название задания еще раз");
|