Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
6.2.0
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
- relates to
-
QTBUG-58620 Add async/await support to V4
- Reported
-
QTBUG-126100 Implement Array.prototype.flatMap in QJSEngine/QQmlEngine
- Reported
-
QTBUG-128164 QML/JS should implement globalThis
- Reported
-
QTBUG-128313 Implement Nullish coalescing assignment Operator in QML "??="
- Open