Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Collie)

Lesson 8.2 Return Values

Description

In this lesson, students learn about return statements and how to use them to send information between functions.


Objective

Students will be able to:

  • Explain the purpose of returning a value from a function.
  • Create functions that return values.
  • Create programs that call functions with return values and store the result for later use.