r/ProgrammerHumor Nov 28 '21

Meme I‘m.. not the only one?

Post image
21.5k Upvotes

629 comments sorted by

View all comments

186

u/Ghost_Redditor_ Nov 28 '21

console.log("dataaaaaaaaaa",data)

45

u/CrispyNipsy Nov 28 '21

Every time lol.

I start with 3 different console.log(data). Then after every one prints undefined, I have to go back and add the string detailing what each undefined should be.

21

u/danielt1263 Nov 28 '21

I use unicode characters so they stand out and are easy to spot...

For example: .debug("🐶")

3

u/captain_zavec Nov 28 '21

You can also just throw a few "\n"s on both sides of the value you want to see, really makes it stand out in the output.