What is a function?
Holds code that we can reuse
Describe function defintion
function, functionName, (parameters if any) {
}
Describe parts of function call
functionName(arguments)
difference between parameter and argument
parameter is placeholder for when declaring a function
why are function parameters useful?
They are able to hold placeholder data that serve as blueprint for the function
what 2 effects does return statemtent have in functions
returns a value, stops code from running