If you’ve done even a little bit of JavaScript, you know that it has it’s fair share of quirks. In particular, functions in JavaScript do a lot of strange things. Rather than be a victim of the bizarre history of the Web, Nizar is here cut through the metaphorical jungle of the JavaScript function.
In this hands on session, you will learn about the nuances of functions in JavaScript. We will discuss what it means for functions to be first-class citizens in a language, what function scope is, the mysterious “this” keyword and some of the implications of all these things. Don’t forget your machete.