What is the use of console.log?
console.log
Please explain how to use it in JavaScript, with a code example.
console.log has nothing to do with jQuery. It is a common object/method provided by debuggers (including the Chrome debugger and Firebug) that allows a script to log data (or objects in most cases) to the JavaScript console.