javaScript functions

functions are Objects too.

As I mentioned in Learning javaScript every variable in js is an object. A javaScript function is also an object. This means it can be assigned to a variable.
consider this..