Status: New
Owner: ----

New issue 2267 by [email protected]: problem on mapping c++ classes to javascript.
http://code.google.com/p/v8/issues/detail?id=2267


I have mapped a c++ class to javascript. but something weird happened.
I can do like this,
      var globalvar = new nativeclass();
I can also do like this,
     function func(){
        var anymembervar = new nativeclass();
     }
but I cant do like this,
     var globalvar = {
         var membervar = new nativeclass();
}

can anyone tell me why this happened, or help me with it?




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

Reply via email to