With objects especially, I don\'t understand what parts of the object run before initialization, what runs at initialization and what runs sometime after.
EDIT: It s
Unlike C++, it is not possible to run logic in the Javascript parser.
I suspect that you're asking which code runs immediately and which code runs when you create each object instance.
The answer is that any code in a function that you call will only run when you call the function, whereas any code outside of a function will run immediately.