I've seen this short animation, usually linked in response to questions about print and return.
It demonstrates, with an example function, how return causes a function to end and “return” the value to the caller, and print displays a given value to the console.
P.S. This was already suggested before in the #community-meta channel.
The person proposing also mentioned that adding it to the !return tag will make the embed too long, so a new tag would be better.
Tag Name
print-return
What kind of content should the tag include?
I've seen this short animation, usually linked in response to questions about print and return. It demonstrates, with an example function, how
return
causes a function to end and “return” the value to the caller, andprint
displays a given value to the console.P.S. This was already suggested before in the #community-meta channel. The person proposing also mentioned that adding it to the
!return
tag will make the embed too long, so a new tag would be better.