title: $.each on Enum JQuery
body: <p>I have an Enum defined in my Javascript like below:</p>
  
  <pre><code>BankTypesEnum = {
          'Savings': '0',
          'HomeLoan': '1',
          'Current': '2',
         'salary': '3'
      }
  </code></pre>
  
  <p>I want to run <code>$.each()</code> on this and compare with values from some other data source. Can anybody help me in this?</p>