Values & References3 / 10
Up next

Tables are references

-- assigning a table copies the reference, not the data
local a = {1, 2, 3}
local b = a
table.insert(b, 4)
-- a and b are the SAME table
print(#a)
What you're solving

a table variable holds a reference