結果 : return last item of array javascript