0
function chapter Somebody can explain me why the output isnt 12
Somebody can explain me why the output isnt 12 thank you https://www.sololearn.com/Play/JavaScript What is the output of the following expression? function multNmbrs(a, b) { var c = a*b; } multNmbrs(2, 6);
4 Answers
+ 6
Doesn't really return or alert anything...
0
Nothing
0
Nothing
- 1
Exactly what Kuba said
function multNmbrs(a,b){
var c = a*b;
return c;
}
mulNmbers(2,6);
now this function would return 12