I looked at other similar messages without help, they all start with an already made multidimensional array, I want to magically create it using .push.
My array:
ItemsArray.push({ RoomName : RoomName, Item : {//this is where I want the multi-array } });
I tried using: ItemsArray.Item.push{ stuff:morestuff } , but it stopped saying that “ItemsArray.Item” is not defined ... which is clearly funny?
Also tried: ItemsArray[1].push{} with the same error ...
Of course, this should be a silly simple problem.
Thanks!
source share