Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

JS - String quote types

0 votes
added Jul 5, 2018 in jQuery by LC Marshal Captain (26,080 points)
//double and single quote are mostly in use, but with the backticks you can include variables seamlessly

let str1 = "string 1",
      str2 = 'string 2',
      strBackticks = `With backtick, we can embed ${str1} & ${str2} in a fashion manner `;

Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.