This will be my second newbie question, thanks all.

Let's say that  I just wrote a c++ class, and expose it as a
constructor function in javascript.  e.g.

js code
<=============================================================================

var obj = new Constructor_Func(Args);

obj.method('do something');

=============================================================================>
This is totally ok.

 I am known that c++ is an OOP language, has constructor and
deconstructor.

But it seems that even I ruined out the constructor and deconstructor
from c++ source code, the code still be able to pass the compilation.

And the js code still ok.

How this could be?

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

Reply via email to