rogchap / v8go

Execute JavaScript from Go
https://rogchap.com/v8go
BSD 3-Clause "New" or "Revised" License
3.21k stars 221 forks source link

how about SetPrototype #406

Open biaosheng opened 6 months ago

biaosheng commented 6 months ago

To avoid detection of JS code, I currently need to define Crypto and crypto, and make the running JS code crypto__ proto==Crypto. prototype returns true. In v8go, I did not find the SetPrototype function. It seems that SetPrototype is present in C++, so could you please advise