Description of the javascript plsql illustration

The image shows the JavaScript code wrapped in a PL/SQL block. From the toolbar, the Run Script icon is expanded and Run as SQL script is selected.