-- == on two tables is true only for the same object local a = {1, 2} local b = {1, 2} print(a == b) print(a == a)
table equality is by reference