we have cards array [{suit:"",rank:"A"},{suit:"",rank:"K"},...] write holdem poker evaluator javascript func to return higher combination in format {combinationRank:9,combination:"flush royal",cards:[instance1, instance2,...]}; DON't create new card objects use existed card objects from input array;