2 ms·
@irixusr I'd recommend this page from C2: http://c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent http://c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent It may
by al2o3cr 11y ago
@irixusr I'd recommend this page from C2:
http://c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent http://c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent
It may also help to contemplate the techniques used to get "private variables" in vanilla Javascript.