Please enable JavaScript to use CodeHS

Chapter 2

JavaScript Control Structures

2.9 Functions and Parameters


Defining a Function with Parameters

Calling a Function with Arguments

Double Number

Multiple Parameters

Sum Function

Parameters and Reusable Code

Draw Circles

Check Your Understanding

  1. Invalid Answer

Exercise: Rectangle

Do you have feedback on this lesson? Let us know here
Rate this lesson:

Feedback on this lesson:

Issue found (optional):