What is the use of console.log?
console.log
Please explain how to use it in JavaScript, with a code example.
It is used to log (anything you pass it) to the Firebug console. The main usage would be to debug your JavaScript code.