#What Are Javascript Callback Functions?
###Functions as Arguments
By now it should be clear that we can pass variables and objects into Javascript functions as arguments. For example, given:
// assign the string "Bob" to a variable 'name'
var name = "Bob";
// assign a function that returns a phrase as uppercase string