It sure would be easier and more elegant if assigning a new object to a variable as as easy as V8JS.Script.TEST1 = T1;
This also works to assign a new object to a variable but it didn't 'look' right.
T1 = new V8test();
V8JS.AddHostObject("TEST1", T1);
T2 = new V8test();
V8JS.AddHostObject("TEST1", T2);
This also works to assign a new object to a variable but it didn't 'look' right.
T1 = new V8test();
V8JS.AddHostObject("TEST1", T1);
T2 = new V8test();
V8JS.AddHostObject("TEST1", T2);