Function Parameters

Let’s bump up the power of our functions and allow them to take parameters. A parameter (also known as an argument) is a value passed into a function from its caller. Parameters allow a function to do different things based on how they are called.

Get hands-on with 1400+ tech skills courses.