兼容性 ES6–IE10+,Chrome,firefox,移动端,node.js 1.在线转换 写好ES6,然后引用js库完成转换 2.提前编译 babel / browser.js 变量 ** var– 可以重复声明无法限制修改,常量没有块级作用域