6 property bool test: false
8 qjsvalue: new vehicle(8);
9 property int wheelCount: qjsvalue.wheels
11 function vehicle(wheels) {
15 Component.onCompleted: {
16 if (wheelCount != 8) return;
18 // not bindable, but wheelCount will update because truck itself changed.
19 qjsvalue = new vehicle(12);
21 if (wheelCount != 12) return;