![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ECMAScript 6
zh_rey
这个作者很懒,什么都没留下…
展开
-
ES6模板字符串编译示例
let template = ` `; function compile(template){ const evalExpr = //g; const expr = //g; template = template .replace(evalExpr, '`); \n echo( $1 ); \n echo(`') .replace(ex原创 2017-10-30 10:31:51 · 1181 阅读 · 0 评论 -
ES6基础语法
1、let 生命一个只在let所在代码块内生效的变量 2、conset 声明一个只读的常量。一旦声明,常量的值就不能改变。原创 2017-10-11 15:17:26 · 220 阅读 · 0 评论