Log Messages
To help debug your client-side code, you can write output to the JavaScript console of a web browser using
console.log()
if your browser supports it..
For instructions on using the JavaScript console, refer to the instructions for your web browser.