DEV Community

loading...

Discussion on: Quick tip: How to console.log in implicitly returned arrow functions

Collapse
lucis profile image
Lucis

Really nice!

And also, using an object into console.log prints both the variable name and its value, like: console.log({a, b})

Collapse
ryanlanciaux profile image
Ryan Lanciaux Author

Thank you! This is a really great point!