On Wed, Mar 26, 2014 at 3:33 PM, Artem Batogovsky <[email protected]>wrote:

> Okay, may be it is too hard to calculate each bite. But situation that i
> explain in file was not explained at all.
>
> It will be great if you will say what exactly differ one class from
> another (ClassA and ClassB).
>

Short answer: Functions are stateful objects in JavaScript, and each
instance of the inner function in ClassA has to remember its own "inc".

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to