📜  反引号和引号之间的区别 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:01.605000             🧑  作者: Mango

代码示例1
var name = "world";
var greetES5 = 'Hello '+name;//using single quote
var greetES6 = `Hello ${name}`;//using ticks