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);

31st Jul 2017, 6:23 AM
Michael Tuninetti
Michael Tuninetti - avatar
4 Respuestas
+ 6
Doesn't really return or alert anything...
31st Jul 2017, 6:30 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Nothing
4th Nov 2017, 4:34 PM
Mohammad Javad.Sami
0
Nothing
29th Jun 2018, 6:56 PM
Mohamed Ramadan El Geneidy‎
Mohamed Ramadan El Geneidy‎ - avatar
- 1
Exactly what Kuba said function multNmbrs(a,b){ var c = a*b; return c; } mulNmbers(2,6); now this function would return 12
31st Jul 2017, 8:12 AM
S C