Skip to content

for in loop adds +1 to loop variable #18

@lolleko

Description

@lolleko
for (const y in list) {
     list[y]
}

=>

for y, _ in ipairs(list) do
   list[y+1]
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions