Olga_Brekhuntsova 2 anni fa
parent
commit
b2d407a473
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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("Введите название задания еще раз");