Return value

The single result a function gives back. A function with no `return` still returns something in most languages, usually a null-like value, which is why a missing return is a silent bug.

Back to the glossary