So I have an enum:

```
var enum = {
    aitem: {
        Desc: 'A description',
        Value: 0,
        Group: 'A'
    },
    bitem: {
        Desc: 'b description',
        Value: 1,
        Group: 'B'
    },
    bitem: {
        Desc: 'c description',
        Value: 2,
        Group: 'C'
    }
}
var neededGroup = 'A';
var neededValues = [];

//x.Group & x.Value don't exist
for (var x in enum){
    if (x.Group == neededGroup){
        neededValues.push(x.Value);
    }
}

```

So, basically I want to loop through my enum and check if the Group equals a specific group and if it does,I want to push that value onto an array. However, `x` appears to only be a string representing for example `aitem` and not a specific enum object. How do I accomplish what I am trying to do since my current method won't work?