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. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Rectangle