Tech News

제목ES6 이후의 변경점 총정리2021-09-15 09:29
작성자 Level 10

https://teamdable.github.io/techblog/after-es6 

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

댓글
자동등록방지
(자동등록방지 숫자를 입력해 주세요)