Table

  • Tables are null indexes, which means the first element is at [0] All indexes are considered strings. Meaning that [“0”] will be the exact same this as [0] and it will be a bit faster due it doesn’t need to convert the value afterwards
local tbl = {1, 2, 3, 4, 5}
print(tbl[0]) // 1
print(#tbl) // 5