Hi guys i was wondering if anyone of you knows how to add a new associative array to an existing associative array here's what i already have
I have a variable myAray which contains this value
myArray["-" + 1] = [{ title: "title 1", key: "1", property: "new"}];
myArray["-" + 2] = [{ title: "title 2", key: "2", property: "old"}];
myArray["-" + 3] = [{ title: "title 3", key: "3", property: "modify"}];
myArray["-" + 4] = [{ title: "title 4", key: "4", property: "few"}];
myArray["-" + 5] = [{ title: "title 5", key: "5", property: "other property"}];
myArray["-" + 6] = [{ title: "title 6", key: "6", property: "streaming"}];
as you can see i only have 6 content for my myArray variable now i would like to add a new associative array in it with a value of this
myArray["-" + 7] = [{ title: "New inserted array", key: "7", property: "newly created"}];
but how do i accomplish that? i already tried using myArray.push but that didnt solve my problem