loading...

Discussion on: Three types of console.log users. Which one are you?

Collapse
allanjeremy profile image
Allan N Jeremy Author

Method one: String concatenation

We can join strings using the + operator. As a result this allows us to append a variable to a string.

console.log ('my variable :'+ myVariable);