范例1:
for (var i=0;i<10;i++){ var data = `公司名:${i}`; console.log(data) }
输出:
实例2:
var name = '丁香医生'; var desc = '丁香医生是面向大众的科普性健康类网站'; var html = `公司名:${name} 简介:${desc}`; console.log(html)