executejavascript - Execute Javascript Code
Execute JavaScript code in a sandbox on our server. The following npm packages can be used: momentjs, cheerio, handlebars, ... (see https://1001fx.com for full list). Exceptions will be caught and returned. Strict is forced and imports are not allowed.
code
string
Code to be executed. Has to be valid javascript code. Store result in a variable and just write the variable in a single line at the end to return the value.
Example:
const a = 2; const b = 3;return a * b;