0

In Javascript, what's the difference between creating a string with jQuery v concatenation? Is there some sort of ulterior performance or convention reason to prefer one over the other?

const myvar = "hello world";
const strQuery = "${myvar} is cool";
const strConcat = myvar + " is cool";
mebird
  • 25
  • 4

0 Answers0