# babel_node_console **Repository Path**: kaohongshu2017_admin_admin_admin/babel_node_console ## Basic Information - **Project Name**: babel_node_console - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-03-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ****************************************************** Links for reference************************************************************ ES6 Standard Documentation: http://www.ecma-international.org/publications/standards/Ecma-262.htm The latest drafts are available at: https://tc39.github.io/ecma262/. http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf ES6 Brief Introduction in Mozila: https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla ES5 & ES6 Comparation http://es6-features.org/#Constants Typescript VS ES6 http://ilikekillnerds.com/2015/07/typescript-vs-ecmascript-20152016/ ES5 & ES6 Browser Support http://kangax.github.io/compat-table/es5/ https://kangax.github.io/compat-table/es6/ ES 6 emulator http://www.es6fiddle.net/ //blocked by company http://es6console.com/ // https://babeljs.io/repl/ // How to set up a babel: https://babeljs.io/docs/setup/ npm install --save-dev babel-loader babel-core npm install babel-preset-es2015 --save-dev ES6 ruanyifeng: https://github.com/ruanyf/es6tutorial *************************************************************************************************************************************** Babel ES6 convert -> ES5 use a transpiler to get it to ES5 Babel · The compiler for writing next generation JavaScript Traceur is a JavaScript.next-to-JavaScript-of-today compiler https://webpack.github.io/docs/usage.html JavaScript引擎 http://baike.baidu.com/link?url=xmD59HMcB_ISs1ZEk8saUl4wIpPQccPeMCISio2dh7L2EJ5OOySoNZnD9bvjbG2tiGW1vGiKHFw-VhUlBrwHKq V8 Chrome SpiderMonkey Firefox JavaScriptCore iOS7 Chakra IE 9-11 Carakan Opera KJS Konqueror Other http://stackoverflow.com/questions/30807612/should-i-use-typescript-or-i-can-just-use-es6 If want to run localy, Best Practice: Node 6 + Chrome 51/52 Opera 38/39 SystemJS + ES6(Babel) + React 示例 http://react-china.org/t/systemjs-es6-babel-react/3684 *******************************************************NodeJS related contents ******************************************************** nodejs schedule https://github.com/nodejs/LTS#lts_schedule Visual Studio NodeJS Dev http://www.cnblogs.com/ShaYeBlog/p/4573250.html https://github.com/Microsoft/nodejstools#readme npm install -g n n stable / n v0.10.26 / n 0.10.26 http://npm.taobao.org/package/babel-compile npm -v #显示版本,检查npm 是否正确安装。 npm install express #安装express模块 npm install -g express #全局安装express模块 npm list #列出已安装模块 npm show express #显示模块详情 npm update #升级当前目录下的项目的所有模块 npm update express #升级当前目录下的项目的指定模块 npm update -g express #升级全局安装的express模块 npm uninstall express #删除指定的模块 Babel 6: loose模式 和 原生的区别 http://www.tuicool.com/articles/RRvYfy7 *************************************************************************************************************************************** Lessons Agenda: 1. Let和Const命令 2. 变量的解构赋值 3. 字符串的扩展 4. 正则的扩展 5. 数值的扩展 6. 数组的扩展 7. 函数的扩展 8. 对象的扩展 9. Symbol