Code

In the Design editor, the Code action is used to add JavaScript code to an action chain. To do so, add the Code action from the Action pallet to the action chain and enter the code in the Properties pane.

In the Code editor, you can use this action to create a local function.