News for hackers. Stuff that matters.
Re:Console.table() by Raphmedia on Thursday June 14, 2018 @10:08AM (#17311750)
Nice trick.

What I do is console.log('MyVariable',MyVariable,'MyOtherVariable',MyOtherVariable);

When writing it I simply copy the variable, "paste twice" and then "wrap with quotation marks".

That one is pretty nice because you can add ,'\n' to have a new line. console.log('MyVariable',MyVariable,'\n','MyOtherVariable',MyOtherVariable);

There are no comments on this comment yet.