DEV Community

loading...

Discussion on: 7 JavaScript Hacks for 2020

Collapse
lucis profile image
Lucis

I think console.log({hero}) is a better way than console.log('hero', hero'). I use it all the time, thought you would like it ;)

Nice post

Collapse
_patrickgod profile image
Patrick God Author

That's great! Thank you! :)