Why output is 10 10? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
22nd Jan 2020, 1:09 PM
Mohamed Kalith
Mohamed Kalith - avatar
2 Réponses
+ 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