Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97724

Update ECMAScript version

    XMLWordPrintable

Details

    • All

    Description

      ECMAScript 2021 has been finalized while QJSEngine is still only implementing ES2016 features.
      A lot of these features make the language easier to use in async contexts (most notably async/await async iteration and additions to the Promise API). It would be great to be able to use these in Qt. ES2021 features like such private methods would also make it easier to design easy to use QML components.

      It would be great if we could write more modern JS in Qt if it supported a newer ECMAScript standard.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtqmlteam Qt Qml Team User
              swiftb0y Nikolaus Einhauser
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes