Thanks for this article. There is one thing I wish you would have added. console.log({}). This way of debugging helps when we need to name the output's that we are printing on the console.
e.g: console.log({testData: 'abc'});
We can directly use variables in the console.log in the above way that will give us the name of the variable along with the output.
Thanks for this article. There is one thing I wish you would have added.
console.log({})
. This way of debugging helps when we need to name the output's that we are printing on the console.e.g: console.log({testData: 'abc'});
We can directly use variables in the console.log in the above way that will give us the name of the variable along with the output.
Thank you for the addition.
Really welcomed🙌