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

Method executeIntegerScript

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

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

(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
_executeIntegerScriptMethod · 0.95