結果 : get first object in array of objects javascript