frankframework / frankframework/frontend-conventions

Use `for...of` if possible instead of `for index`

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The `for...of` statement can often be used instead of a C style `for index`.
The C style for should only be used if there isn't anything to iterate over. Like when you have a list of non-corresponding items or if there are a number of steps defined in a variable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.