+ 1

What does return mean exactly?

I just do not understand where should I return?)

12th Aug 2018, 4:44 PM
Petya
Petya - avatar
3 Answers
+ 2
Return is the "thing"😂 that a function outputs. However there are functions that return things and some others that dont. This is up to you to choose and the syntax depends on language.
12th Aug 2018, 4:53 PM
Ledio Deda
Ledio Deda - avatar
12th Aug 2018, 5:15 PM
Meet Mehta
Meet Mehta - avatar
+ 1
👌
12th Aug 2018, 5:17 PM
Petya
Petya - avatar