ES6以降の変更点総まとめ
(teamdable.github.io)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()
-
正規表現機能の追加
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
-
オプショナルチェイニング
-
Promise.allSettled()
-
Null coalescing operator(null合体演算子)
-
String.prototype.matchAll()
-
モジュール名前空間export構文
-
import.meta
-
globalThis
ES2021
-
String.prototype.replaceAll()
-
Promise.any()
-
論理演算子と代入式
-
数値区切り記号
-
WeakRef
-
Intl.ListFormat
-
Intl.DateTimeFormatのdateStyleおよびtimeStyle
まだコメントはありません。