es6新增语法之`${}`

let a='Karry Wang';
let str=`I love ${a}, because he is handsome.`;

  

posted @ 2023-01-31 10:25  紫花地丁year  阅读(93)  评论(0编辑  收藏  举报