Yet again scope and closure in JavaScript, but this time easy to digest

Imagine scope as a semitransparent bag with names of variables and functions. While in the bag you can see what is outside but nobody can look into your bag. Read more

Similar

Eloquent JavaScript, 3rd edition

I'm writing a 3rd edition of my freely available book, Eloquent JavaScript. It'll modernize and further improve the book. Writing is a lot of work, and I know a lot of people appreciate this work, so I hope some of you are interested in chipping in some m... (more…)

Read more »