Qt 6.11 is out! See what's new in the release
blog
Spread operator "..." works for arrays, but not objects.
-
-
Hi @Tannz0rz,
QJSEnginesupports ECMAScript 7 (2016): https://doc.qt.io/qt-5/qtqml-javascript-hostenvironment.htmlThe spread syntax was added to objects in ECMAScript 9 (2018) and is also considered "experimental": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax