摘要: ES6即ES2015,使用Babel可将ES6代码转换为ES5代码。最常用的ES6语法有let,const,class,extends,super,arrow functions,template string,destructuring,default,rest arguments。 let,co 阅读全文
posted @ 2017-04-18 14:40 梦泪 阅读(360) 评论(0) 推荐(0)
摘要: 变量、作用域、内存问题 变量可能包含两种类型的值:基本类型(Undefined,Null,Boolean,Number,String)和引用类型(Object,Array,DateRegExp,Function,基本包装类型[Boolean、Number,String],单体内置对象[Global, 阅读全文
posted @ 2017-04-17 18:50 梦泪 阅读(97) 评论(0) 推荐(1)