12 điểm bởi xguru 2021-09-14 | Chưa có bình luận nào. | Chia sẻ qua WhatsApp

ES6(ES2015)

  • Array.prototype.includes()

  • Toán tử lũy thừa

ES2017

  • Đệm chuỗi

  • Object.entries() và Object.values()

  • Object.getOwnPropertyDescriptors()

  • Dấu phẩy ở cuối

  • Atomics, SharedArrayBuffer

ES2018

  • Object rest/spread

  • Lặp bất đồng bộ

  • Promise.prototype.finally()

  • Bổ sung tính năng cho biểu thức chính quy

ES2019

  • Array.prototype.flat() và Array.prototype.flatMap()

  • Object.fromEntries()

  • String.prototype.trimStart() và String.prototype.trimEnd()

  • Gán catch tùy chọn

  • Function.prototype.toString()

  • Symbol.prototype.description

ES2020

  • BigInt

  • Dynamic import

  • Optional chaining

  • Promise.allSettled()

  • Toán tử nullish coalescing (toán tử hợp nhất null)

  • String.prototype.matchAll()

  • Cú pháp export namespace của module

  • import.meta

  • globalThis

ES2021

  • String.prototype.replaceAll()

  • Promise.any()

  • Toán tử logic và biểu thức gán

  • Dấu phân tách chữ số

  • WeakRef

  • Intl.ListFormat

  • dateStyle và timeStyle của Intl.DateTimeFormat

Chưa có bình luận nào.

Chưa có bình luận nào.