Template Literals
Template Literals
π¨βπΌ Excellent! Template literals are one of the most useful features in
JavaScript.
π¦ Template literals are especially powerful because you can put any
expression inside
${} - not just simple values. You'll use them constantly
as you write more code.// You can even call functions inside template literals
console.log(`Random number: ${Math.random()}`)
We'll get to functions later.


