Javascript Code Interpreter

Execute arbitrary js code. Great for doing maths, getting access to internet and doing any kind of data analysis and programming

Loading...
Variables

  functionBody

string

A string containing the JavaScript statements comprising the function definition to be passed to eval()

  • Don't use return, instead just write down the javascript code/expression
  • Prefer async/await over .then() promise syntax
  • If you write code that fails to run, you can iterate on the code by attempting to run different code until the code execution succeeds.
  • You cannot use external libraries in this environment using import or require. Please use standard browser APIs instead.
  • use console.log() if you need to debug the code you have written
Secrets

Run cost = 1 credits

Functions are free if called from another workflow.

With each run, you agree to Gooey.AI's terms & privacy policy.


Logs

hey