If I do something like this, and then enumerate inputMenu with the loop, is it guaranteed that my for loop will return them in the order I added them? Or is this not guaranteed? Thank you.
inputMenu = {
IDOD: { text: "Diam (1=ID, 0=OD)", value: null },
DIA: { text: "Diameter", value: null },
THK: { text: "Segment Thickness", value: null },
PLATEWIDTH: { text: "Plate Width", value: null },
SEG_NEUT_AXIS: { text: "MID-ARC Length", value: null } };
for (var key in inputMenu) {
// Will I get IDOD -> DIA -> THK -> PLATEWIDTH -> SEG_NEUT_AXIS every time?
};