#confused on how the return statement works
4 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @vapid pendant! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
return is just the instruction that says that you indicate the value produced by the method call, and the method stops here and provides this value