Console.log argument in object
Wrap your console.log arguments in an object literal to print the variable name along with its value.
— Daniel Stefanovic (@DaniStefanovic) June 27, 2018
console.log(isLoggedIn)
console.log({ isLoggedIn })
Still one of my favorite tips from @wesbos. So simple but effective 💪 pic.twitter.com/wMrDt4JDJ4