結果 : get last object of array javascript