結果 : take first element of array javascript