Skip to content

Is there a way to create a Proxy object? #1585

Discussion options

You must be logged in to vote
- let js_unknown = proxy_constructor.call(None, &[target, handler])?;
+ let js_unknown = proxy_constructor.new_instance(&[target, handler])?;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Brooooooklyn
Comment options

Brooooooklyn May 9, 2023
Maintainer Sponsor

Answer selected by vincent-herlemont
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants