On Fri, Jun 15, 2012 at 10:20 AM, thewilli <[email protected]> wrote:

> *var Float = new Type("Float");
> var myFloat = new Float(34.2);*
>
> and want to avoid factory methods like
>
> *var myFloat = Float.createInstance(34.2)*;
>


You can'd _call_ individual instances (not portably), but you can of course
do:

var Float = Somefactory.FloatFactory;
var myFloat = new Float(...);

which is not very far removed from what you demonstrate.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to