Question 1 of 5
A function body ends without a return statement. What does calling it evaluate to?
What a missing return hands back.
A function without a return returns undefined, the value, not an error. Python hands back None in the same spot; JavaScript hands back undefined, and the difference in spelling is the whole difference.
Review this lesson