Thursday, 20 April 2017

How to compare between object elments values in javascript

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)?



via Ben

No comments:

Post a Comment