What is the use of console.log?
console.log
Please explain how to use it in JavaScript, with a code example.
An example - suppose you want to know which line of code you were able to run your program (before it broke!), simply type in
console.log("You made it to line 26. But then something went very, very wrong.")