---
title: "Comment by Chris Bongers on \"Code Smell 53 - Explicit Iteration\" | Hashnode"
description: "Nice one! I do wonder some times I favor a basic for i++ loop since forEach is not 100% browser supported. What&#39;s your take on that?"
url: "https://hashnode.com/posts/code-smell-53-explicit-iteration/5ff3d9ace8e57e1374e68399/comment/5ff41d43fc8177134fbb4bf7"
---

[Discussion](https://hashnode.com/posts/code-smell-53-explicit-iteration/5ff3d9ace8e57e1374e68399)

Comment [Code Smell 53 - Explicit Iteration](https://hashnode.com/posts/code-smell-53-explicit-iteration/5ff3d9ace8e57e1374e68399)

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Jan 5, 2021](https://hashnode.com/posts/code-smell-53-explicit-iteration/5ff3d9ace8e57e1374e68399/comment/5ff41d43fc8177134fbb4bf7)

Nice one!

I do wonder some times I favor a basic for i++ loop since forEach is not 100% browser supported.

What's your take on that?

[Maxi Contieri](https://hashnode.com/@mcsee)

[Jan 5, 2021](https://hashnode.com/posts/code-smell-53-explicit-iteration/5ff3d9ace8e57e1374e68399/comment/5ff41d43fc8177134fbb4bf7#reply-5ff4638ce8e57e1374e68ddd)

An implicit prerequisite is that the code must work.

So a beautiful and declarative not working foreach is not a choice having a working explicit i++

The code must always work. If you have evidence some browsers does not support the declarative one i am ok with the old way.

Shame on browser compatibility

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Jan 5, 2021](https://hashnode.com/posts/code-smell-53-explicit-iteration/5ff3d9ace8e57e1374e68399/comment/5ff41d43fc8177134fbb4bf7#reply-5ff475a1e8e57e1374e68f1d)

[Maxi Contieri](https://hashnode.com/@mcsee) That makes sense, thanks for explaining

And yes, shame on browser compatibility!
