Return

/rɪˈtɜrn/ verb

Definition

A programming statement that ends the execution of a function and optionally sends a value back to the code that called the function. Return statements allow functions to produce output that can be used elsewhere in the program.

Etymology

From Old French 'retorner' meaning to turn back or go back. The concept of returning to a previous state or location translated naturally to programming in the 1950s, where functions 'return' both control and optionally a value to the calling code.

Kelly Says

Return is like a boomerang - you throw it out (call a function), it does its thing in the air (executes code), and then comes back to you (returns a value). Some boomerangs come back empty-handed, others bring you a prize - just like some functions return values and others just do work and return nothing!

Translations

AFAfrikaans
return
return
AMአማርኛ
return
return
ARالعربية
return
return
BGБългарски
return
return
BNবাংলা
return
return
CACatalà
return
return
CSČeština
return
return
DADansk
return
return
DEDeutsch
zurückkehren
zurückkehren
ELΕλληνικά
return
return
ESEspañol
regresar
regresar
ETEesti
return
return
EUEuskara
return
return
FAفارسی
return
return
FISuomi
return
return
FRFrançais
retourner
retourner
GLGalego
return
return
HEעברית
return
return
HIहिन्दी
return
return
HRHrvatski
return
return
HUMagyar
return
return
IDBahasa Indonesia
return
return
ITItaliano
ritornare
ritornare
JA日本語
戻る
戻る
KO한국어
돌아가다
돌아가다
LTLietuvių
return
return
LVLatviešu
return
return
MNМонгол
return
return
MSBahasa Melayu
return
return
MYမြန်မာ
return
return
NLNederlands
return
return
NONorsk
return
return
PLPolski
return
return
PTPortuguês
return
return
RORomână
return
return
RUРусский
возвращаться
возвращаться
SKSlovenčina
return
return
SLSlovenščina
return
return
SRСрпски
return
return
SVSvenska
return
return
SWKiswahili
return
return
TAதமிழ்
return
return
TEతెలుగు
return
return
THไทย
return
return
TRTürkçe
return
return
UKУкраїнська
return
return
URاردو
return
return
VITiếng Việt
return
return
ZH中文
返回
返回

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.