Cosmo/newtest.cosmo

9 lines
169 B
Plaintext

-- makes a hundred thousand entries in the hashtable
var test = {}
for (var i = 0; i < 100000; i=i+1) do
test[i] = "" .. i*i
end
print(test[4]) -- should print '16'