octwyh

Results 6 comments of octwyh

后台代码使用的是TestCDT.java

测试js: function printEvenSquares(n) { debugger; if (n < 1) { console.log("Please provide a positive integer."); return; } debugger; let a=1; for (let i = 1; i

> That's a known issue, and haven't been planned yet. 可以分享一下相关的lib源码么?也许我可以帮忙解决这个问题

public static void main(String[] args) throws Exception { try (V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime()) { try (V8ValueObject v8ValueObject = v8Runtime.createV8ValueObject()) { v8Runtime.getGlobalObject().set("intercept", v8ValueObject); v8ValueObject.bind(new TestIntercept()); } IV8Executor executor = v8Runtime.getExecutor("intercept.handle();"); //...

@caoccao Is this a bug, or am I having an issue with the API usage?

Alright, totally understand... When you have time later, please don’t forget to take a look at the code, it’s basically the same as the example in the Interception section of...