Please enable JavaScript to use CodeHS

Chapter 2

JavaScript Control Structures

2.10 Functions and Return Values

Keeping Results

Calling a Function With a Return Value

Double Number

Multiple Parameters With a Return Value

Return Values

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Rectangle with Return Values