Useful console.log() tips

javascriptconsoledebugging
Jan 8, 2021

Log variable names

Log the variable name along with the value by just wrapping it curly braces.

Log variables name

Formatting

Using string substitutions:

Log formatted message

More info at MDN website.

Related Articles

How to Use Lucide Icons with Vuetify

A guide on integrating Lucide icons into a Vuetify project.

Dexie upgrade function is not called

While creating a new db version, upgrade is not called

Getting epoch time

Getting epoch time in various languages