I have an Enum defined in my Javascript like below:
BankTypesEnum = {
'Savings': '0',
'HomeLoan': '1',
'Current': '2',
'salary': '3'
}
I want to run $.each() on this and compare with values from some other data source. Can anybody help me in this?
edit this code with your needs, instead of alert put compare or anything else you need to do with keys and values