Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Console.table(). Parent comment
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.
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);