return function(k,...)for s=1,select("\035",...),1 do local b=select(s,...)if b~=nil then for s,b in pairs(b)do k[s]=b end end end return k 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