3 ms·
Don't understand the downvote. Understanding javascript's closure (which is a core js feature even on the client) properly without understanding pointers seems
by bsaul 10y ago
Don't understand the downvote. Understanding javascript's closure (which is a core js feature even on the client) properly without understanding pointers seems like an impossible task to me.
- inimino 10y agoThe idea of reference is necessary, but pointers are an implementation detail. If you don't come from C, you can understand everything in JavaScript without knowing what pointers are. Many languages have references to mutable state without the peculiar details that make pointers what they are.