I want to loop through an enum to get all the values. If I have
export enum Colours{
    green,
    red,
    blue,
    brown,
    purple,
    black,
    orange,
    pink,
    yellow
}
and what I want to do is
array.foreach(item => {
item.colour = Colours.value
});
So first one of the array would be green. So on so forth. Unless there is a better way of doing this?
 
     
    