Quick question for you guys. As far as V8 and its hidden classes are
concerned, are there any pros or cons of doing the following ...
function Foo() {
this.valueA = 100;
this.valueB = 200;
}
Foo.prototype.valueA = 0;
Foo.prototype.valueB = 0;
I'm curious if that code will cause any more hidden classes to be created
than this code ...
function Foo() {
this.valueA = 100;
this.valueB = 200;
}
Thanks in advance.
--
--
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.