3 ms·
Well I don't think web browsers are really the same thing as server side code. Even individual pages in a browser are sandboxed from each other. Just like ind
by dbattaglia 15y ago
Well I don't think web browsers are really the same thing as server side code. Even individual pages in a browser are sandboxed from each other. Just like individual request/response cycles for a user session probably should be on the server (unless you go out of your way to break that, ie making some variable "static").
- bzbarsky 15y agoMy point was that nothing inherent to JS forces sharing of a single global object across everything you do. The embedding (Node in this case) fully controls the granularity of such sharing.