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
If you're using console.log to emit multiple values in a single line, here's a hacky alternative:
var1 + ' ' + var2 + ' ' + var...
(Better ideas welcome, this might blow up in certain circumstances)