Functions in javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Functions in javascript

Please can someone answer this for me; when a function dosen't run what does it return???

8th May 2020, 3:31 AM
Prosper Emebo
Prosper Emebo - avatar
3 Answers
+ 2
what do you mean by "it doesn't run"?
8th May 2020, 3:56 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Prehaps, writting a checkng if a function in an if statement
9th May 2020, 12:41 AM
Prosper Emebo
Prosper Emebo - avatar
+ 1
if it's not called, it returns nothing. you have to handle that condition for the desired outcome.
9th May 2020, 3:50 AM
Bahhaⵣ
Bahhaⵣ - avatar