Skip to content

Glossary: JavaScript Basics

Return

Also written: return value, returning

To hand a value back from a function to its caller, which also ends the function. A function without `return` gives back `undefined`.

Where the book teaches it

Related terms

FunctionCall