Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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` <-"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #nested #backticks
ADD COMMENT
Topic
Name
1+7 =