結果 : return the first element in an array javascript