Ashutosh The “Evaluate JavaScript Expression” Wrk Action supports running standard JavaScript code, including most built-in functions and syntax.
It embeds the V8 JavaScript engine, which means it should support modern ECMAScript language features such as let, const, arrow functions, object destructuring, array methods (map, filter, etc.), and JSON parsing.
You can call standard JavaScript global functions directly, including Math.*, JSON.stringify, Date, parseInt, and others.
Notes & Limitations
- No browser APIs – Functions like window, document, fetch, setTimeout, and other DOM-related APIs are not available.
- No Node.js APIs – You cannot use require(), fs, process, or other Node-specific modules.