Acrobat JavaScript Editor and Debugger Console
2
Exercise: Working with the JavaScript Console
F
IGURE
7. Now evaluate the following line of code by typing it in below the existing console
contents and pressing Enter with the cursor positioned on the code to be evaluated:
console.println("\n\nThe value of myNumber is " +
Notice the use of the C-style formatting character \n to force a new line. The results in
the console window should appear as shown in
30
2.6
Evaluating myNumber
myNumber);
Figure
2.7.
Acrobat JavaScript Scripting Guide