Template String

Template literals are enclosed by the backtick ( ) character instead of double or single quotes.

Template literals can contain placeholders. These are indicated by the dollar sign and curly braces ${expression}.


let example = `string text `


Template literals with placeholder.

let expression = "in javascript";
let example = `string text ${expression} `