Confused about return


#1

I'm confused about what the return keyword actually does/ what it's purpose is, could someone please explain to me?
Thank you :slightly_smiling:


#2

Read this post the guy has explained it v nicely
https://www.codecademy.com/forum_questions/510a6f3c86474c5e11002cdb

MDN has more


#3

Thank you! Thats really helped :slightly_smiling:


#4

You're welcome :blossom:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming ?
Join the discussion