|
@@ -43,8 +43,8 @@ intRandom()
|
|
|
let guys = "";
|
|
|
function greetAll(){
|
|
|
for(i = 0;i<arguments.length;i++){
|
|
|
- guys+= " " + arguments[i]};
|
|
|
- alert(`Hi, ${guys}`)
|
|
|
+ guys+= "," + " " + arguments[i]};
|
|
|
+ alert(`Hi ${guys}`)
|
|
|
|
|
|
}
|
|
|
greetAll()
|
|
@@ -121,7 +121,7 @@ let samplee = {
|
|
|
"greetAll": greetSample(),
|
|
|
"sum": sumSample()
|
|
|
}
|
|
|
-let qvestion = prompt('Какая функция?')
|
|
|
+let qvest = prompt('Какая функция?')
|
|
|
alert(samplee[qvestion])
|
|
|
|
|
|
|