Hi After I compile a js source with v8, I would like to get the method/member per request Any idea how to do it ?
For example for *user *i want to see : *User* & *sayHi *method and for *AA* i want to see the *Z* & *b* keys const char * src= ("const AA = {Z: 5, b : 6 } ; class User { User() {alert('con');} sayHi() {alert('hi');}} let user = new User()"); Local<v8::String> source = v8::String::NewFromUtf8(m_Isolate, src); // Compile the script and check for errors.Local<Script> compiled_script;if (!Script::Compile(m_Context, source).ToLocal(&compiled_script)){ } ... Thanks Oren -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/b40404b0-2341-455e-a1ea-6f3805a63a0ao%40googlegroups.com.