local defualt = {
name = "test",
height = 1,
width = 1,
state = true
}
I want to write a function that accepts a table as an arguemnt, then returns that table with all the missing variables filled in from the defualt table
function fillTable(info)
--#fill in missing stuff
return info
end
temp = {
name = "bob"
}
temp = fillTable(temp)
Temp should now be{
name = "bob",
height = 1,
width = 1,
state = true
}
How would I go about doing that?












