摘要:
<!DOCTYPE html><html><head> <title></title></head><body> <button>333</button> <script type="text/javascript"> var that ; class test { constructor(unam 阅读全文
摘要:
es6支持通过let关键字声明属于单独块{}的变量,更好的管理变量作用屿 funtion foo() { var a=1; if (a>1) { let b=2; //只属于if模块 while(b<5) { let c=b*2;cc只属于while循环 b++; console.log(a+c) 阅读全文