Remy Sharp dissects a piece of jQuery code pointing out the red flags. Each flag is taken in turn, explained and shown how to correct. Takes into account context and the flexibility of jQuery
map() function, which is similar to Prototype's
An explanation of scope in terms of an execution context and scope chain. Also describes how we can alter the this reference using apply and call.