Return Statements
Learn the last powerful part of functions. The return statement allows a function to send information back out. With this final tool, we can master the full power of functions.
We'll cover the following
Introduction
There’s one more powerful feature of functions. The return statement. In addition to accepting values in through arguments, a function can send something back out.
Here’s how that works.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy