Cosmo/newtest.cosmo

9 lines
169 B
Plaintext
Raw Normal View History

2020-11-06 01:53:55 +00:00
-- 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'