What is the name of inserting variables into a string using curly braces?

  • 0
    Forgot the word.
    When you want to insert variables into a string and insert them using these brackets {}.
    I don't remember exactly how it works.
    JavaScript Anonymous, Aug 10, 2020

  • 3 Answers
  • 0
    let first = "five", second = "six"
    let string = `${first} + ${second} = 11`

    called "string interpolation"

  • 0
    String interpolation. The first link in Google, then in the responses on the stack a link to MDN
    Noah Davila

  • 0

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!