When t[k] is nil, table 't' doesn't have a value associated to 'k'. t[k] = nil removes the value associated to key 'k' from the table 't'.It's probably only difficult because people have expectations from other languages which have pure hashes and pure arrays.