結果 : return element of array javascript