'object. invoke (functionName)' did not throw an exception
Closed this issue · 3 comments
rongrong1000 commented
public static void main(String[] args) throws JavetException {
V8Runtime v8Runtime = V8Host.getNodeInstance().createV8Runtime();
V8Value handleResult = v8Runtime.getGlobalObject().invoke("nofunction");
System.out.println("handleResult: " + handleResult);
}
console: handleResult: undefined
rongrong1000 commented
I think should throw an exception
TypeError: _____ is not a function
caoccao commented
This behavior has been with Javet since the beginning of this project. I agree: it's time to correct it.
caoccao commented
That is completed. Please wait for the next release.