Description: Illustrates the JavaScript syntax for the Close Method .
Syntax: close() – Closes the output stream and displays the collected data