Javascript Weird console.log behaviour In this article I shall try to explain the weird behaviour exhibited by console.log function. Logging values is not as easy as it sounds.