結果 : return first element of array javascript