Archive for November 10th, 2015

Tuesday, November 10th, 2015

Scope and Closures

A lot of people don’t actually understand properly how scope works in JavaScript. As a result they don’t understand closures. Once you understand that JavaScript uses declaration scope and not execution scope it becomes much easier to see how closures work. Scope and Closures