I’ve searched for ways to combine two tables and keep their indexes but they all return in a ordered way. Basically my issue is I have 2 tables:
-- table1:
local a = {yes = "yes"}
-- table2:
local b = {no= "no"}
And I need a way to combine these tables and get a output like this:
local c = combine(
a, b
) -- {yes = "yes", no = "no"}
How could I do this?