Details
Description
Qt JavaScript supports Map object which was introduced in ECMAScript 6, but the debugger does not.
I created a minimal project (QtQuick project) with main.qml:
import QtQuick Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Component.onCompleted: { let myMap = new Map() myMap.set(12, "Apple") myMap.set(4, "Orange") myMap.set(5, "Banana") console.log(myMap.has(4)) myMap.delete(4) console.log(myMap.has(4)) let fruit = myMap.get(12) console.log(fruit) } }
This correctly produced the output:
qml: true qml: false qml: Apple
However the debugger only ever showed `myMap` as "object" without allowing inspection of its size or contents: