0

What is the return function for and how does it work?

22nd Oct 2019, 5:34 AM
ŠœŠ°ŠŗсŠøŠ¼ ŠšŃƒŠ»ŠøŠ½
ŠœŠ°ŠŗсŠøŠ¼ ŠšŃƒŠ»ŠøŠ½ - avatar
2 Answers
+ 2
for is not a return function. It's a loop. But I think your question is not clear. You want to ask something else. Please clarify that
22nd Oct 2019, 7:04 AM
AĶ¢J
AĶ¢J - avatar
+ 1
return statement will: terminate the function call return a value to the place where the function was called
22nd Oct 2019, 8:05 AM
Seb TheS
Seb TheS - avatar