Confused about return


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:


Read this post the guy has explained it v nicely

MDN has more


Thank you! Thats really helped :slightly_smiling:


You're welcome :blossom:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming ?
Join the discussion