WEEKLY ENGINEERING PRACTICE
The first missing index
A small reasoning exercise. Follow the behavior, choose an explanation and use the feedback to decide what to practice next.
Trace the behavior
Which values does this loop print?
local values = {[1] = 10, [3] = 30}
for _, value in ipairs(values) do
print(value)
end