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

JS - String quote types

0 votes
50 views
added Jul 5, 2018 in jQuery by LC Marshal Captain (25,860 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 `;
console.log(strBackticks)

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...