DEV Community

Discussion on: Why (We) Make Room For `console.log`?

Collapse
 
easilybaffled profile image
Danny Michaelis

I'm glad to see someone else has used the comma operator. I had started the same way, but over time, it was simpler for me to pull the functionality into its own function.
Also, it has been my experience that most people aren't familiar with the comma operator, which isn't helped by ESLint's no-sequences rules.