MCPcopy Create free account
hub / github.com/eclipsesource/J2V8 / executeDoubleScript

Method executeDoubleScript

src/main/java/com/eclipsesource/v8/V8.java:567–569  ·  view source on GitHub ↗

Executes a JS Script on this runtime and returns the result as a double. If the result is not a double, then a V8ResultUndefinedException is thrown. @param script The script to execute. @return The result of the script as a double, or V8ResultUndefinedException if the result is not a double.

(final String script)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

checkThreadMethod · 0.95
checkScriptMethod · 0.95
_executeDoubleScriptMethod · 0.95