title: Finding highest value from object
body: <p>I am having an object {1:2, 2:1}. The first one is the key and second one is the value. I want to know which one is height. From the example first one has the highest value.</p>
  
  <p>How can i find it using jquery or js. </p>
  
  <p>My expected output should be 
  1 is highest,</p>
  
  <p>if {1:1, 2:2 }
  then 2 is highest.</p>
  
  <p>if {1:3}
  then 1 is highest.</p>
  
  <p>if {2:3}
  then 2 is highest.</p>