mirror of
https://github.com/CPunch/Cosmo.git
synced 2024-11-05 08:10:05 +00:00
9 lines
169 B
Plaintext
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'
|