# es-start **Repository Path**: jaymii/es-start ## Basic Information - **Project Name**: es-start - **Description**: js es 学习 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-01 - **Last Updated**: 2024-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ECMAScript [ECMAScript Language Specification.](https://tc39.es/ecma262/multipage/) # 个版本特性详细解析 [ECMAScript2015~2020语法全解析](http://es.xiecheng.live/) ## es5 [es5](https://www.ecma-international.org/ecma-262/5.1/) * use strict * String.trim() * JSON.parse() * JSON.stringify() * Date.now() * Object.defineProperty() * charAt() **Array** * Array.isArray() * Array.prototype.forEach() * Array.prototype.map() * Array.prototype.filter() * Array.prototype.reduce() * Array.prototype.reduceRight() * Array.prototype.every() * Array.prototype.some() * Array.prototype.indexOf() * Array.prototype.lastIndexOf() ## es6(2015) (ECMAScript 6 入门)[https://es6.ruanyifeng.com/] * let / const * Destruction(解构赋值) * Template String(模板字符串) * Arrow Function(箭头函数) * Classes and Inheritance(类和继承) * 函数参数默认值 * Iterator(迭代器) * Set / Map * Symbol * for...of * Promise * Generator(生成器) * Proxy * Reflect * Module(模块) ## es7(2016) * Array.prototype.includes() * Exponentiation Operator(求幂运算符) ## es8(2017) * async / await * Object * Object.values() * Object.entries() * Object.getOwnPropertyDescriptors() * String * String.padStart() * String.padEnd() * Trailing Commas(尾逗号) ## es9(2018) * Asynchronous Iteration, for await of(异步迭代) * Object * Rest properties(剩余属性) * spread properties(展开参数) * Promise.prototype.finally() * RegExp * RegExp named capture groups(命名捕获组) * RegExp Unicode property escapes(Unicode属性转义) * Template Literal Revision(模板文字修订) ## es10(2019) * Array * Array.prototype.flat() * Array.prototype.flatMap() * Object * Object.fromEntries() * String * trimStart() * trimEnd() * Symbol * Symbol.prototype.description * Optional Catch Binding(可选捕获绑定) ## es11(2020) * String * String.prototype.matchAll() * BigInt * globalThis * Promise.allSettled() * Nullish coalescing Operator(空值合并运算符) * Optional Chaining Operator(可选链操作符) * Dynamic Import(动态导入) ## es12(2021) // todo