You are viewing a single comment's thread from:RE: TIL in JavaScript console.log you can do variable,variableView the full contextkkomaz (35)in #javascript • 7 years ago yep! you should look into ES6 features as well! you can actually use variables via ${variableName}
Yes! I really like this:
var name = 'matthewdavid' console.log('My name is ${name}.')
nice, will check it out thanks for the tip !