結果 : how to return value from array of objects javascript