Drealmer's Tumblr

20/07/2011

Lua quiz

Explain how this:

...
t = { [123] = 'hello' }
print(string.format('t[%d] = %s', key, tostring(t[key])))

Can output this:

t[123] = nil
Tumblr » powered Sid05 » templated
blog comments powered by Disqus