結果 : return one value from array of objects javascript