When can we use console.log() to display the value of a variable?

After we create the variableBefore we create the variableBefore or after we create the variable

We can only use console.log() to display the content of a variable after we create it.