标签: javascript string
此代码是否有误,
var num = 3; var str = "The number is " + num!";
如何修复此问题,
答案 0 :(得分:0)
您可以尝试以下方法:
var num = 3; var str = "The number is " + num + "!";