Javascript print
From wikinotes
javascript is built for a browser, and does not have a print
or printf
command.
You can write data in a few places
console.log()
writes to the browser consolewindow.alert()
writes to an alert box- The DOM also has several items you can write to