Skip to content

Instantly share code, notes, and snippets.

@jyrkive
Last active June 30, 2018 11:14
local function good(t)
table.sort(t) -- OK, does what you expect
end
local function bad(table)
table.sort(table) -- error, the table doesn't have a field called "sort"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment