<script>
//ES6模板字符串
let tpl1 = `
<div>
<span>1255</span>
</div>
`;
console.log(tpl1);
</script>
![](https://i-blog.csdnimg.cn/blog_migrate/28351232dc72c7fc576022c6100ffccd.png)
<script>
//ES6模板字符串
let tpl1 = `
<div>
<span>1255</span>
</div>
`;
console.log(tpl1);
</script>