Save as New
by
A string containing the JavaScript statements comprising the function definition to be passed to eval() \n- Don't use return, instead just write down the javascript code/expression\n- Prefer async/await over .then() promise syntax\n- 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. \n- You cannot use external libraries in this environment using import or require. Please use standard browser APIs instead.\n- use console.log() if you need to debug the code you have written
return
Run
Examples
API
3mo ago
🌎 JavaScript
🐍 Python
Add
functionBody
string
A string containing the JavaScript statements comprising the function definition to be passed to eval()
package.json
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
🐞 Debug
🙋🏽♀️ Need more help? Join our Discord