I would like to have an array like this
menuArray = new Array(
“food one”,
“food two”,
“food three sub Item(array?): ingredients include…blah blah blah”,
“food four”
);
As you can see in “food three” i have a sub item. These will be random, and hardcoded into the array.
This array is sorta like a menu. The user will go through the array, one by one and they have the choice to include a specific item into a new array, or not to.
If they include this item into the array, I do not want the subitems included in the users final results.