Resumen completo de los cambios posteriores a ES6
(teamdable.github.io)<p>ES6(ES2015)<br />
- Array.prototype.includes()<br />
- Operador de exponenciación<br />
<br />
ES2017<br />
- Relleno de cadenas<br />
- Object.entries() y Object.values()<br />
- Object.getOwnPropertyDescriptors()<br />
- Coma final<br />
- Atomics, SharedArrayBuffer<br />
<br />
ES2018<br />
- Object rest/spread<br />
- Iteración asíncrona<br />
- Promise.prototype.finally()<br />
- Funciones agregadas a expresiones regulares<br />
<br />
ES2019<br />
- Array.prototype.flat() y Array.prototype.flatMap()<br />
- Object.fromEntries()<br />
- String.prototype.trimStart() y String.prototype.trimEnd()<br />
- Asignación opcional en catch<br />
- Function.prototype.toString()<br />
- Symbol.prototype.description<br />
<br />
ES2020<br />
- BigInt<br />
- Importación dinámica<br />
- Encadenamiento opcional<br />
- Promise.allSettled()<br />
- Null coalescing operator (operador de fusión nula)<br />
- String.prototype.matchAll()<br />
- Sintaxis de export del namespace de módulos<br />
- import.meta<br />
- globalThis<br />
<br />
ES2021<br />
- String.prototype.replaceAll()<br />
- Promise.any()<br />
- Operadores lógicos y expresiones de asignación<br />
- Separadores numéricos<br />
- WeakRef<br />
- Intl.ListFormat<br />
- dateStyle y timeStyle de Intl.DateTimeFormat</p>
Aún no hay comentarios.