Is there a way to make a C++ class that has set accessors on the prototype to get its data logged?
so like var color = new Color( "white" ); console.log( color ): and have it show sack.Image.Color { r: 255, g:255, b:255, a:255 } (or some order therteof instead of just sack.Image.Color {} ? Also, I added a toString() method to the prototype, but apparently I have to append it to a string (as in console.log( ""+color ) } or call it explicitly... console.log( color.toString() ) Accesors that are on the object, and not in the prototype do get logged... (IIRC) -- -- 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. For more options, visit https://groups.google.com/d/optout.