Five Tricks for Debug-Logging in JavaScript

from blog Vladimir Klepov as a Coder, | ↗ original
Cheer up, today is a quick tip day. No rants, no motivation, no existentialism — just a few simple tricks you can use right now. We'll be talking about console.log and friends for debugging javascript, mostly in the browser. If you don't use devtools debugger — try it, but I'm not here to judge you (unless you use alert). There is at least one...