結果 : javascript split array on condition