Skip to content
Go back

Winning with console.logs

Published:  at  02:03 PM
1 min read

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




Previous Post
Share The Credit, Accept The Blame
Next Post
Fingerprint sudo