getVariable()

Method that retrieves the value currently stored in a variable.

Boundary variables are carried over from one iteration of the Boundaries script to the next, while native JavaScript variables are not.

getVariable(varName)

varName

String name of the variable from which the value is to be retrieved. If the variable does not exist, the value null is returned. It is considered good practice (almost mandatory, even) to always check whether a variable is defined before attempting to access its value.