Working with variables

The workbench offers a Variables view, which allows you to work with variables in your JavaScriptâ„¢ applications.

JavaScript variables are displayed in the Variables view in the following manner:

function1
function2
variable1 = 5.0
function3

When global variables are declared, they are displayed at the top of the preceding structure as an expandable Global node. When expanded, you can view global variables.

Nodes in the Variables view are visible if they are at the top level of the tree structure, or if the nodes a level higher have been expanded. For all nodes that are visible in this view, you can jump to a specific node by typing the first letter of the node. The view will jump to the next node that begins with that letter. If this node is not the node that you wanted to jump to, type the first letter again to jump to the next node that begins with the letter, and so on.

Related tasks
Changing the contents of a variable

Feedback