Jump to navigation Jump to search
This article describes a feature or macro function that is experimental and may be subject to change.
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.10.0
returns. For setting up persistent structures, see js.evalNS() or js.evalURI()
js.eval(expression, arg1, arg2...)
return- Any primitive type; Complex types are converted to (JSON) strings.
[r: js.eval("let a = [1,2,3]; return a + args", 5)]