Re: [csswg-drafts] [css-font-loading] [info discovery] iterable doesn't tell you what index you are (#6593)

While it's not the default iterator, you can iterate over the `.entries()` iterator to get the index and the value at the same time. All three of the iterator methods are provided by `iterable<>`.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6593#issuecomment-917148964 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 10 September 2021 19:15:16 UTC