Browse Source

HW-06 done

Olga_Brekhuntsova 2 years ago
parent
commit
b2d407a473
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hw-js-06-functions-scopes/js/index.js

+ 2 - 2
hw-js-06-functions-scopes/js/index.js

@@ -188,8 +188,8 @@ const funcObj = {
     'cube': function cubeSample() { cube(5)    },
     'avg2': function avg2Sample() {avg2(10, 5)    },
     '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)}
 }
 var sample2 = prompt("Введите название задания еще раз");