how to force a string to behave as a template literal?

后端 未结 0 1241
有刺的猬
有刺的猬 2021-01-31 05:14

I have a piece of javascript that looks like so:

myfunction(delimiter) {
 let currentLine = `hello world${delimiter}`
 console.log(currentLine)
}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题