- dynamic module import
- null coalescing operator ??
a가null이나undefined가 아니면aa가null이나undefined이면b
null 병합 연산자 '??'
null 병합 연산자(nullish coalescing operator) ?? 를 사용하면 여러 피연산자 중 그 값이 '확정되어있는' 변수를 짧은 문법으로도 찾을 수 있습니다. 상황에 따른 a ?? b 의 평가 결과를 살펴봅시다. null 병합 연산자 ??를 사용하지 않고 만든 x = a ?? b 와 동일하게 동작하는 코드는 다음과 같습니다. 길이가 길어지네요.
https://ko.javascript.info/nullish-coalescing-operator

optional chaining과 관련되어 있다. || 연산자와는 반대로, null 병합 연산자인 ??는 좌변 값이 null 또는 undefined일 때만 평가한다.
ECMAScript 2020의 새로운 점
원문: Pawel Grzybek, https://pawelgrzybek.com/whats-new-in-ecmascript-2020/ ECMAScript 2020의 새로운 기능이 확정되었다. 필자는 2016, 2017, 2018, 2019 년과 마찬가지로 올해 새롭게 추가된 기능을 예제와 함께 살펴보려고 한다. String.prototype의 match() 메서드는 정확히 일치하는 결과만을 반환하고 특정 정규 표현식 그룹에 관한 정보는 어떤 것도 제공하지 않았다. Jordan Harband 덕분에 이제 match()보다 더 많은 정보를 반환하는 String.prototype.matchAll 을 사용할 수 있다.
https://ui.toast.com/weekly-pick/ko_20200409/


Seonglae Cho