.forEach vs for const of1,357 ops/sec
1,345 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| .forEach | |
| for const of |
| Test name | Executions per second |
|---|---|
| ✓ .forEach | 2,061 Ops/sec |
| for const of | 2,045 Ops/sec |