local function V(V,c,t)assert(c<=t,"\115\116\097\114\116\073\110\100\101\120 \109\117\115\116 \098\101 \108\101\115\115 \116\104\097\110 \111\114 \101\113\117\097\108 \116\111 \101\110\100\073\110\100\101\120")local s={}local h=1 for c=1,math.min(#V,c-1),1 do s[h]=V[c]h=h+1 end for c=t+1,#V,1 do s[h]=V[c]h=h+1 end return s end return V
--[[
	Remove the range from the list starting from the index.
]]
local function removeRange(list, startIndex, endIndex)
	assert(startIndex <= endIndex, "startIndex must be less than or equal to endIndex")

	local new = {}
	local index = 1

	for i = 1, math.min(#list, startIndex - 1) do
		new[index] = list[i]
		index = index + 1
	end

	for i = endIndex + 1, #list do
		new[index] = list[i]
		index = index + 1
	end

	return new
end

return removeRange
