Answers for "js nested backticks"

1

js nested backticks

const myVar = "I am inside nested backticks"
const myString = `Nested backticks can be escaped like this -> \`${myVariable}\` <-`

console.log(myString)
// "Nested backticks can be escaped like this -> `I am inside nested backticks` <-"
Posted by: Guest on August-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language