ES6 के बाद हुए बदलावों का पूरा सारांश
(teamdable.github.io)<p>ES6(ES2015)<br />
- Array.prototype.includes()<br />
- Exponentiation operator<br />
<br />
ES2017<br />
- String padding<br />
- Object.entries() और Object.values()<br />
- Object.getOwnPropertyDescriptors()<br />
- Trailing Comma<br />
- Atomics, SharedArrayBuffer<br />
<br />
ES2018<br />
- Object rest/spread<br />
- Async iteration<br />
- Promise.prototype.finally()<br />
- RegExp features जोड़ी गईं<br />
<br />
ES2019<br />
- Array.prototype.flat() और Array.prototype.flatMap()<br />
- Object.fromEntries()<br />
- String.prototype.trimStart() और String.prototype.trimEnd()<br />
- Optional catch binding<br />
- Function.prototype.toString()<br />
- Symbol.prototype.description<br />
<br />
ES2020<br />
- BigInt<br />
- Dynamic import<br />
- Optional chaining<br />
- Promise.allSettled()<br />
- Null coalescing operator (null मर्ज ऑपरेटर)<br />
- String.prototype.matchAll()<br />
- Module namespace export syntax<br />
- import.meta<br />
- globalThis<br />
<br />
ES2021<br />
- String.prototype.replaceAll()<br />
- Promise.any()<br />
- Logical operators और assignment expressions<br />
- Numeric separators<br />
- WeakRef<br />
- Intl.ListFormat<br />
- Intl.DateTimeFormat के dateStyle और timeStyle</p>
अभी कोई टिप्पणी नहीं है.