There is a pseudo-function called "print()" (not part of javaScript) that allows data to be placed in the output window. See examples for its use.