In this basic javascript tutorial we use the return method to leave a function early. This is a core lesson in JavaScript which you need to understand to move forward. This is part of the FreeCodeCamp curriculum (www.FreeCodeCamp.org). Enjoy!

In this basic javascript tutorial we use the return method to leave a function early. This is a core lesson in JavaScript which you need to understand to move forward. This is part of the FreeCodeCamp curriculum (www.FreeCodeCamp.org). Enjoy!