You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn and speak with your neighbor, define and describe each of the parts of the following function
function createGreeting(name){
var greeting = 'Hello ' + name + '!';
return greeting;
}
Articulate the difference between defining and invoking a function.
What is the difference between a function definition and a function invokation
Create functions with named parameters, and pass in arguments when calling them.
Create a function with 2 parameters that returns the sum of the parameters. Then invoke the function with the arguments
4 and 5 as numbers.
Control a for loop inside a function using an argument to determine the looping condition.
Create a function that takes a number as a parameter, print the string "I'm in a function" as many times as the number
specifies.