In his Eloquent Javascript, Haverbeke claims that (page 16):
\"In a JavaScript system, most of this data is neatly separated into things called va
JavaScript supports functional programming. As a result all JavaScript functions are first-class functions, meaning that functions are treated like ordinary objects.
http://en.wikipedia.org/wiki/First-class_functions