0
   

How to compare between object elments values

 
 
Reply Wed 19 Apr, 2017 10:08 am
For example
Var obj = {tom:"5000", justin:"500", linda:"3000"};
How I can make a code to know which person have the higher salary as in the example?
I should get as a result here (tom).
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 952 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » How to compare between object elments values
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/26/2024 at 05:40:37