結果 : get last object in array javascript