Why output is 10 10? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
22nd Jan 2020, 1:09 PM
Mohamed Kalith
Mohamed Kalith - avatar
2 Answers
+ 3
Because your function b() output 10 then return 10 that you used to output it again using console.log()
22nd Jan 2020, 1:15 PM
mohamed Issati
mohamed  Issati - avatar
0
Means 2 timea fuction b call.
22nd Jan 2020, 1:16 PM
Prathvi
Prathvi - avatar