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