ES2022 Preview: 10 Exciting JavaScript Language Features From 2021

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • proposal-top-level-await

    top-level `await` proposal for ECMAScript (stage 4)

    top-level await feature for ES modules

  • zx

    A tool for writing better scripts

    The top-level await feature for ES modules makes it easy to use await in CLI scripts (e.g., with .mjs sources and zx), and for dynamic imports and data loading. It extends the await functionality into the module loader, which means that dependent modules will wait for async modules (with top-level await) to be loaded.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • error-cause

    An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3

    The current browser support for the error clause feature is limited (Dec 2021 usage: ~70%), and it is not available in Node.js yet. You can use the error cause polyfill to start using the feature today, even in JS environments where it is not supported.

  • regexp-match-indices

    Polyfill for the RegExp Match Indices proposal

    The browser support for the RegExp match indices feature is currently limited (Dec 2021 usage: ~80%). In Node.js, you can activate the feature with the --harmony-regexp-match-indices flag, but it is disabled by default. You can use the RegExp match indices polyfill in the meantime.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts