top of page

Complex JavaScript Code & Inline Functions

Since we wrap your JavaScript code with an async expression, we recommend always defining return statements and ending inline functions with a semicolon.

Input:

JS-Code:

function fullName(firstName, lastName){ return `${firstName} ${lastName}`}; return fullName('John', 'Doe');

Output:

{ output: 'John Doe'  }

Screenshot 2022-09-12 at 20.08.21.png
bottom of page