Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update crates/biome_js_analyze/src/analyzers/complexity/no_for_each.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Superchupu <53496941+SuperchupuDev@users.noreply.github.com>
ematipico and SuperchupuDev committed Oct 16, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent eef7b1e commit 93fd4a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ impl Rule for NoForEach {
"Prefer for...of instead of Array.forEach"
},
).note(markup!{
<Emphasis>"forEach"</Emphasis>" could lead to performance issue when working with large arrays. When combined with functions like .filter or .map, this causes multiple iterations over the same type."
<Emphasis>"forEach"</Emphasis>" could lead to performance issues when working with large arrays. When combined with functions like .filter or .map, this causes multiple iterations over the same type."
}))
}
}

0 comments on commit 93fd4a7

Please sign in to comment.