Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get value from proxy #161

Closed
mun24 opened this issue Oct 11, 2018 · 1 comment
Closed

get value from proxy #161

mun24 opened this issue Oct 11, 2018 · 1 comment

Comments

@mun24
Copy link

mun24 commented Oct 11, 2018

Unable to get value from proxy, for example:
result = vm.run("let i={y: new Date()};i");

result = Proxy {y: }
[[Handler]] = Object
[[Target]] = Object
y = Thu Oct 11 2018 12:01:40 GMT-0400 (Eastern Daylight Time) {}
proto = Object {constructor: ,defineGetter: ,defineSetter: ,hasOwnProperty: ,lookupGetter: ,...}
[[IsRevoked]] = false
How to get new Date() value. result.y is proxy.

@gr0uch
Copy link

gr0uch commented Oct 18, 2018

Duplicate of #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants