結果 : get portion of array javascript