2 ms·
JavaScript Bites: Closure
- CRConrad 5y agoSo, uh... These fabled closures that I've heard praised for so long — and had such a hard time wrapping my head around — are basically just objects? (Of an anonymous class, defined only by its constructor, but still.)