2021 state of js
特性
语言
- Promise.any
- Logical Assignment (&&=)
- Private Fields
- Nullish Coalescing
- Numeric Separator
- String.prototype.replaceAll
- Proxies
- Promise.allSettled
- String.prototype.matchAll
- Optional Chaining
- Dynamic Import
- BigInt
- Top Level Await
- Array.prototype.at
浏览器接口
- Geolocation
- Web Share API
- Shadow DOM
- WebRTC
- WebGL
- WebSocket
- Custom Elements
- Service Workers
- Intl
- Page Visibility API
- Web Animations
- Web Audio
- Web Speech API
- Broadcast Channel API
- File System API
- WebXR Device API
其他
- Progressive Web Apps
- WebAssembly WASM