How to remove an element from a Lua table (not array, which for some reason some people also call it a table…). Setting value to nil should work, but then why:
local a = {}
a["a"] = 1
a["a"] = nil -- Type Error: Type 'nil' could not be converted into 'number'
This happens for both old type solver and a new one.
rawset(a, "a", nil)
This works, but doesn’t seem like an intended way of doing it.