Skip to content
On this page

global variable ‚Äč

The global variable is every variable prefixed with global.. For example:

  • global.items
  • global.prompt

There are a couple of ways to set the global variable:

  1. set: There is a dedictated method called set that lets you update global variables.
  2. returns: every step (request) can have a returns attribute.