Re: [v8-users] How do I use the Accessor?

2016-09-23 Thread kito
location.href='http://www.google.com'; For example, to output the value of the above location.href, what should I do? -- -- 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 "v

Re: [v8-users] How do I use the Accessor?

2016-09-22 Thread kito
Thank you for your answer. My plan is to run the javascript in c ++. I try to output and property of the javascript object, the return value of the javascript function. I was difficult to find an example of google's v8. I have to study alone, it was supposed to visit this site. I have ou

Re: [v8-users] How do I use the Accessor?

2016-09-21 Thread Ben Noordhuis
On Thu, Sep 22, 2016 at 2:19 AM, kito wrote: > I will need an example of how to use the Accessor. > > The code was posted above, it does not run successfully. Take a look at test/cctest/test-api.cc and test/cctest/test-accessors.cc. If you can't distill a working example from that, can you be mo

Re: [v8-users] How do I use the Accessor?

2016-09-21 Thread kito
I will need an example of how to use the Accessor. The code was posted above, it does not run successfully. 2016년 9월 21일 수요일 오후 7시 47분 51초 UTC+9, Ben Noordhuis 님의 말: > > On Wed, Sep 21, 2016 at 12:37 PM, kito > > wrote: > > Hi~ > > > > I try to use the google's v8 in win32 application cons

Re: [v8-users] How do I use the Accessor?

2016-09-21 Thread Ben Noordhuis
On Wed, Sep 21, 2016 at 12:37 PM, kito wrote: > Hi~ > > I try to use the google's v8 in win32 application console Project of visual > studio 2015. (For reference, I'm using Windows 10.) > > I will use the Accessor, trying to output the url of location.href. > > > Sample code to output a value usin