Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About
Repost from DaniStefanovic:

Wrap your console.log arguments in an object literal to print the variable name along with its value.


console.log({ isLoggedIn })

Still one of my favorite tips from @wesbos. So simple but effective πŸ’ͺ

Posted by under notes at
Also on: twitter facebook / 0