Shell Area
Figure 11-6
Figure 11-6
contains an example of a function that determines the area of a circle. The function is
tested by specifying a value of
. The shell displays the value of
areaOfCircle(10)
628.3185307179587.
To execute the expression, press the Enter key. If you want to enter more than one line of code in the
console, press Enter on the numeric keypad.
Additional Options in Shell Area
If you right-click inside the shell area you are presented with the following additional options:
Using ECMAScript in Policies 183