ES6(ES2015)

  • Array.prototype.includes()

  • ตัวดำเนินการยกกำลัง

ES2017

  • การเติมข้อความในสตริง

  • Object.entries() และ Object.values()

  • Object.getOwnPropertyDescriptors()

  • Trailing Comma

  • Atomics, SharedArrayBuffer

ES2018

  • Object rest/spread

  • Async iteration

  • Promise.prototype.finally()

  • เพิ่มความสามารถของ Regular Expression

ES2019

  • Array.prototype.flat() และ Array.prototype.flatMap()

  • Object.fromEntries()

  • String.prototype.trimStart() และ String.prototype.trimEnd()

  • การกำหนดค่า catch แบบเลือกได้

  • Function.prototype.toString()

  • Symbol.prototype.description

ES2020

  • BigInt

  • Dynamic import

  • Optional chaining

  • Promise.allSettled()

  • Null coalescing operator (ตัวดำเนินการรวมค่า null)

  • String.prototype.matchAll()

  • ไวยากรณ์ export ของ module namespace

  • import.meta

  • globalThis

ES2021

  • String.prototype.replaceAll()

  • Promise.any()

  • ตัวดำเนินการเชิงตรรกะและนิพจน์กำหนดค่า

  • ตัวคั่นหลักในตัวเลข

  • WeakRef

  • Intl.ListFormat

  • dateStyle และ timeStyle ของ Intl.DateTimeFormat

ยังไม่มีความคิดเห็น

ยังไม่มีความคิดเห็น