whatwg/infra

Expand on list indexing syntax

annevk opened this issue · 0 comments

I would like us to support list[last] or list[-1] at least. There's a lot of specifications that could benefit from that (instead they talk about the last item today, which works but is verbose and inconsistent with how we talk about the first item).

E.g.,

Open to additional suggestions if we want to tackle a couple in one go. Though only as long as there is specification text that could benefit from them.