I'm trying to build an array to create a menu system where each index has 2 objects, a name and a subarray of Strings.
I tried something like this:
var menus = [];
menus.push({title:"Aztec", mySubArray:{"String1", "String2","String3"} });
but that doesnt seem to be the right syntax. any ideas?
thanks