Hi there, would Practice1 or Practice2 written below be better, assuming that a table is necessary?
-- (Script Setup)
local valueInTable = {1}
-- (Practice1):
for loopQuantity = 1, 100 do
print(valueInTable[1])
end
-- (Practice2):
local garneredTableValue = valueInTable[1]
for loopQuantity = 1, 100 do
print(garneredTableValue)
end