It looks like `i` is only used for indexing. Prefer `Array.forEach()`.