${}
在模板字符串中:
${表达式}
表示:
把 JavaScript 表达式的结果插入字符串中。
例如:
let name = 'Tom' console.log(`hello ${name}`)
结果:
hello Tom