結果 : find last occurrence of element in array javascript