Use console.log() like a pro
Using
console.log()
for JavaScript debugging is the most common practice among developers. But, there is more…The
console
object provides access to the browser’s debugging console. The specifics of how it works vary from browser to browser, but there is a de facto set of features that are typically provided.
Source: Use console.log() like a pro, an article by Marko Denic.