return function(v,...)for K=1,select("\035",...),1 do local c=select(K,...)if c~=nil then for K,c in pairs(c)do v[K]=c end end end return v end
--[[
	An implementation of JavaScript's Object.assign
]]

return function(target, ...)
	for i = 1, select("#", ...) do
		local source = select(i, ...)

		if source ~= nil then
			for key, value in pairs(source) do
				target[key] = value
			end
		end
	end

	return target
end