Every time console.log is executed, a line saying undefined is appended to the output log.
console.log
undefined
It happens in both Firefox and Chrome on Windows
undefined is the return value of the console.log() in Chrome developer tools. You will get undefined if you do the following in Chrome developer tools, and you will see that you get undefined even though x has the value 3.
> let x = 3 > undefined