16bugs JavaScript: from Zero to Hero
Log in

JavaScript: from Zero to Hero

#139 console tip to add to lessons

Reported by Volkan Ozcelik · 14 Jul 2018, 04:58

Status
New
Priority
Normal
Assigned to
Volkan Ozcelik
Category
Lessons
Version
None

Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax

History

14 Jul 2018, 04:58Volkan Ozcelik submitted the bug