結果 : get min and max value from array of objects javascript