The ability to spend less time finding errors in a code is a necessary skill that every developer should have.
The Console API, a debugging tool t...
For further actions, you may consider blocking this person and/or reporting abuse
Great article. You may want to add
console.dir()
.I find it very useful as a version of
console.log()
where the object or array is automatically expanded, instead of me having to click it open every single time.Thanks for the suggestion
Also
n=3;m=4; console.log({n,m})
; returns{n: 3, m: 4}
Great hack with destructuring to pass linters and CI/CD 😂
lmao
Thanks. This is beautiful 🎉
Great article, very few people write about Console API
Thank you.
A great run through this was so informative.
The last is the best!
Console.table is useful but this method only support the obj which nested depth under 2
Do u mean it doesn't work when u used it with a simple obj?
Great work!!!
This is really useful. Thanks for sharing!