title: Why is console.log() considered better than alert()?
body: <p>I've always been told that when debugging an application, JavaScript's <code>console.log()</code> method is preferred over simply using an <code>alert()</code> method.  Why is this? Is there a good example someone can point me to where <code>console.log()</code> is obviously the better choice?</p>