TIL in JavaScript console.log you can do variable,variable

Words
46
Reading
1 min
9y
Listen to this post
~1 min

consolelogwtf.png

Ha, after programming in JavaScript for many many years, I just realized that you can type

console.log(variable1, variable2, variable3)

for all that time I had done something like console.log(variable1 + " " + variable2)

oops !

Guess it is never to late to learn new tricks.

TIL in JavaScript console.log you can do variable,variable | Ecency