Side navigation
#14497 closed bug (duplicate)
Opened October 30, 2013 04:38PM UTC
Closed October 30, 2013 04:50PM UTC
index passed as first argument to iterator in each
| Reported by: | daytonn@gmail.com | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | core | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
This is not expected behavior. When I call each, i mean to iterate over the items in the collection, not their indices. If I wanted to access the index, I would expect it as the second argument to the iterator.
Attachments (0)
Change History (1)
Changed October 30, 2013 04:50PM UTC by comment:1
| component: | unfiled → core |
|---|---|
| resolution: | → duplicate |
| status: | new → closed |
Duplicate of #12566.