# es6 **Repository Path**: m2mbob/es6 ## Basic Information - **Project Name**: es6 - **Description**: 练习使用es6新特性,使用babel编译,gulp构建。 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2015-09-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## es6练习 ## ### 运行步骤: ### 1. git clone https://git.oschina.net/m2mbob/es6.git 2. cd es6 3. npm install 4. gulp watch 5. npm start 6. open chrome + 127.0.0.1:8000 + f12 ### 说明: ### > 练习代码大部分来自阮一峰的es6入门。 > 部分代码因为babel在编译时会报错所以注释了。 > let部分练习完成,阅读es6入门下面的讨论,在此说明一下let是存在变量提升的只是没有初始化,var的变量提升会初始化undefined。