Yes, I can see why it happens, but I was surprised because I imagined
that the first time the script is parsed by the internal engine, it
need to know what the doSomething() method applied to, and create some
sort of pointer to that object. But in fact it doesn't care what it's
applied to, it doesn't even "think" about it until the method actually
needs to be executed, and only then bothers to find out what the
calling object actually refers to. That seems a costly (although
probably inevitable) way of doing things.








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to