反撇号(`) 反单引号 

var user = {name: Vicent};

console.log(`my name is ${user.name}`);

打印结果:my name is Vicent

http://www.infoq.com/cn/articles/es6-in-depth-template-string

posted on 2016-11-28 21:01  Boom__Clap  阅读(363)  评论(0编辑  收藏  举报