Javet
Javet copied to clipboard
'object. invoke (functionName)' did not throw an exception
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
I think should throw an exception TypeError: _____ is not a function
This behavior has been with Javet since the beginning of this project. I agree: it's time to correct it.
That is completed. Please wait for the next release.