Winning with console.logs

Using console.log() for JS debugging? You’re gonna love this <3

Say we have

const a = 1, b = 2, c = 3

we can log them as an object

 console.log({ a, b, c })

and ta-da

{
  a: 1,
  b: 2,
  c: 3
}

satisfying logs

comments powered by Disqus