Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Return

Return

A return statement returns control from a function or method back to its caller.

Related concepts:  FunctionMethodCallControl Flow

Closest Wikipedia entry:  Return statement

Misconceptions about Return
14 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
ArrowFunctionNoImpliedReturn
Even when an arrow function consists just of an expression, the return keyword must be explicitly written
Misconception
MapInPlace
Map modifies the elements of the array on which it operates in place
Misconception
NoReturnValue
Functions without return statements return no value at all

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors