Hello, Class!

var sayHello = function(){
    console.log("hello class")
}

Tasks Level One

  • call the function
  • change this function expression to a function declaration

Tasks Level Two

  • Give the function a name parameter
  • Pass the function call a string (preferably a name) as an argument.
  • Return a cool string, like: "Hello Fred!"!

Tasks Level Three

  • Give the function a age parameter
  • Pass the function call a string (preferably a age) as an argument.
  • Return a cool string, like: "Hello Fred, how do you like being 27?"