A Little This, a Little _that: Understanding Scope in JavaScript – David Aragon



Presented at jQuery Conference San Diego February 12-13, 2014
http://events.jquery.org/2014/san-diego/

February 12, 2014 at 11AM PST in the Fundamentals Track

Description
Scope is one of the most critical concepts in JavaScript, but even seasoned front-end developers have trouble with the the meaning of `this`. It doesn’t have to be this way. Once you learn the few simple rules that govern JavaScript scope, your code will become more precise and flexible.

Let’s take a deep dive into what scoping means in JavaScript. In this talk you’ll learn why scope is critical to applications running in a browser environment, what the heck all this talk of `this` and `_that` is about, as well as how to avoid some pitfalls even the experts make.

Slides: http://davidql.github.io/scope_talk/

source

Reply

Do NOT follow this link or you will be banned from the site!