How to merge two tables overwriting the elements which are in both?

for k,v in pairs(second_table) do first_table[k] = v end

Leave a Comment