JavaScript Closures as a fairy tale

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves? Read more

Similar

Common JavaScript functions with Lodash

There are some things in JavaScript that seem tedious to write. When I first started learning the language a few years back, I found a few common functions like shuffle and range that are included in the Ruby and Python API, but are just n...

Read more »

Modeling Physics in JavaScript: Introduction

Physics in Javascript Table of Contents: Gravity and Drag Spring-Mass-Damper (Car Suspension, Part 1) Rigid Bodies, Part 1 (Pendulum Clock) Another post that starts with "I love": I love physics. I really do. Once upon a time I was a...

Read more »